简体   繁体   中英

how to save .config to ./arch/arm/configs/ in linux kernel configuration

I have configuring the linux kernel 3.4 . I have the defconfig file supplied by the chip vendor. I have applied the defconfig and then changed some more configuration using the menuconfig. Now i have the updated .config file.

I need to save this .config file into ./arch/arm/configs/ so that in future no need to redo the configurations I already did.

Thanks and Regards, Giri

You can copy the .config manually to ./arch/arm/configs/(and probably add it to your version control also)

cp .config ./arch/arm/configs/CUSTOM_defconfig

And when you need to load this configuration just use:

make CUSTOM_defconfig

You can use buildroot utility to save your defconfig file using :

$> make savedefconfig

Then, you can find a file named "defconfig" in the same location of your .config file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM