[Buildroot] What's up with the kernel names? (Again)
Peter Korsgaard
jacmet at uclibc.org
Fri Feb 6 08:49:23 UTC 2009
>>>>> "Ulf" == Ulf Samuelsson <ulf.samuelsson at atmel.com> writes:
Ulf> The AT91 uboot patches and autoscripts rely on this very exact naming,
Ulf> so if you commit your patch, you break the at91 support.
So they are broken for people using the simple linux build already?
Ulf> If you add KERNEL_VERSION to the root fs name you do things
Ulf> automatically, if you dont then everything is manually, and you
Ulf> have a risk of mismatch between name and actual version. I
Ulf> would not mind that the rootfs contains kernel version, but it
Ulf> will break the at91 u-boot autoscripts which means that it
Ulf> should avoided at this point, and introduced in a future
Ulf> buildroot.
Ulf> To avoid bugs due to people forgetting to update onfig the kernel name
Ulf> needs to depend BOTH on PROJECT and LINUX_VERSION.
Then set prefix/suffix.
>> The $(DATE) seams to be default to rootfs suffix already, all you have
>> to do is change it per project to include the project or board name.
Ulf> I think your major problem is that the DATE changes.
Ulf> I think it is fair to allow DATE to be in the rootfs suffix.
Sure, setting prefix/suffix to $(DATE) should work - But it shouldn't
be default.
Ulf> but I still think your needs are best accomodated by
Ulf> ln -s $(LINUX_KERNEL_NAME) uImage
No, lets not add any more clutter to binaries/
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list