简体   繁体   中英

Partial compilation of openwrt project

I would like to get an idea or reference to compile only subset on the openwrt project. i am aware of the menuconfig utility but this is not enough for my goal.

i would like to compile only the tool-chain (binutils + gcc + glibc) for a specific target (ar71xx) and also the kernel.

now, after looking in the makefiles etc, i have noticed that most of the work in actually patching the toolchain and the kernel and then compile it. is there any option to stop build process after the patching so i can have only the source code patched and i can write my own make file to compile it?

独立准备(补丁)工具链:

make toolchain/{clean,prepare} V=99

To extract the kernel source and patch it:

make target/linux/{clean,prepare} V=99

The patched kernel source will be in build_dir/linux-$(target)/linux-$(version)

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