Skip to contentSkip to conversation

How to rebuild the kernel only

Buildroot Marc Leclerc 3 participants 3 messages Sep 17, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

any option to only rebuild the kernel (bsImage) ?

Regards

#1 lore raw

Am 17.09.2010 19:45, schrieb Marc Leclerc:

Quoted 4 lines

Hi,

any option to only rebuild the kernel (bsImage) ?

Yes. Outside buildroot ;-)
It's not possible to make clean and compile ONLY the kernel afterwards. The whole selected userland and/or toolchains will be rebuilt. It is of course possible to download the kernel sources and bake the kernel yourself on your host.

Regards,
Marcus

#2 lore raw
Quoted 10 lines · Marcus Osdoba

Am 17.09.2010 19:45, schrieb Marc Leclerc:

Quoted 4 lines

Hi,

any option to only rebuild the kernel (bsImage) ?

Yes. Outside buildroot ;-)
It's not possible to make clean and compile ONLY the kernel afterwards. The whole selected userland and/or toolchains will be rebuilt. It is of course possible to download the kernel sources and bake the kernel yourself on your host.

Actually, it used to work by doing a:

$ make linux26-force;make

But the -force target was removed awhile back.

I have been working around that lately by doing a:

$ touch output/build/linux-{version}/.stamp_configured;make

Make sure {version} is correct for your system.

Regards,
Hartley