[Buildroot] linux: why is vmlinux only available for mips?

Thomas De Schampheleire patrickdepinguin+buildroot at gmail.com
Fri Jul 15 09:34:13 UTC 2011


On Fri, Jul 15, 2011 at 11:22 AM, Yann E. MORIN
<yann.morin.1998 at anciens.enib.fr> wrote:
> Thomas, All,
>
> On Friday 15 July 2011 08:34:34 Thomas De Schampheleire wrote:
>> If you stick with one kernel version, then you can hardcode it in the
>> relevant scripts and Makefiles. However, when switching to another
>> version, you have to update all of these files.
>> One approach to solve all of this would be to create a symbolic link
>> output/build/linux, pointing to the output/build/linux-X directory
>> corresponding to the actually configured version.
>>
>> What do you think of that?
>
> Or you can use the BR2_LINUX_KERNEL_VERSION variable:
>  output/build/linux-${BR2_LINUX_KERNEL_VERSION}/

This works fine in the context of buildroot. However, I need to access
these files from a non-buildroot context (external makefiles/scripts)
and so the variable BR2_LINUX_KERNEL_VERSION is not known.

Thomas



More information about the buildroot mailing list