展锐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编译内核

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值