展锐android r kernel 快速编译
步驟 1 在 bsp 根目錄下執行 source build/envsetup.sh 加載環境變量。
步驟 2 在 bsp 根目錄下執行 lunch 選擇 product。
步驟 3 在 bsp 根目錄下使用 make help 查看支持的命令
bsp$ make help
make : Compile all bsp modules
make all : Compile all bsp modules
make bootimage : Compile boot.img
make chipram : Compile chipram related image and output binary to out directory
make busybox : Compile busybox
make busybox_rootfs : Compile busybox rootfs
make perf : Compile perf
make bootloader : Compile uboot related image and output binary to out directory
make bootwrapper : Compile bootwrapper related image and output binary to out directory
make sockoimage : Compile socko.img for kernel 4.14 projects
make vendorbootimage : Compile vendor_boot.img for kernel 5.4 projects
make sml : Compile sml related image and output binary to out directory
make teecfg : Compile teecfg related image and output binary to out directory
make trusty : Compile tos related image and output binary to out directory
make config : Only compile .config
make kernel : Compile all kernel related image and output binary to out directory
make dtb : Only generate product_name.dtb
make dtboimage : Only generate product_name.dtbo
make headers : Install kernel headers into dist
make unset : Delete the BSP related environment variable
make help : Print the usage
make -h : Print the usage
make modules : Compile the internal and external modules
make modules -m sample.ko : Compile only one modules
make clean : Clean all bsp obj files
make clean kernel : Clean the only one bsp module (chipram / busybox / sml / teecfg / tos / uboot / kernel)
make clean modules -m sample.ko : When clean modules, support clean only one module
make distclean : Clean all bsp obj files and output files
make mrproper : Clean the kernel temporary files
make busybox_mrproper : Clean the busybox temporary files
kuconfig : Using menuconfig generate .config and replace defconfig
busybox_kuconfig : Using menuconfig generate the .config for busybox and replace defconfig?
?
步驟 4?在 bsp 根目錄下使用 make kernel編譯內核
總結
以上是生活随笔為你收集整理的展锐android r kernel 快速编译的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 浅谈图床
- 下一篇: 高效能力人士必知必会的搜索引擎高级使用技