Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Buildroot linux kernel clean build

I am using buildroot to build linux firmware. How can I do a clean rebuild the linux kernel only (without having to build the whole thing which take an hour)?

I tried -

make linux-rebuild

but that does not do a clean.

I have also tried

make linux-reconfigure && make linux-rebuild

but that does not work either.

like image 533
NiladriBose Avatar asked May 20 '26 04:05

NiladriBose


1 Answers

If you want to remove all of the changes in sources of the linux kernel be in buildroot directory (cd buildroot) and do following:

make linux-dirclean
make linux-rebuild

The first command will remove output/build/linux* directory and the second one will fetch and rebuild from scratch the kernel.

like image 73
user2699113 Avatar answered May 25 '26 16:05

user2699113