kernel build command

Uboot:

make ARCH=arm CROSS_COMPILE=${CC} distclean

make ARCH=arm CROSS_COMPILE=${CC} am335x_evm_defconfig

make ARCH=arm CROSS_COMPILE=${CC}

 

Kernel:

make ARCH=arm -j2 CROSS_COMPILE="ccache ${CC}" zImage

make ARCH=arm -j2 CROSS_COMPILE="ccache ${CC}" modules

make ARCH=arm -j2 CROSS_COMPILE="ccache ${CC}" dtbs

make INSTALL_MOD_PATH=./modules_install modules_install

posted @ 2019-01-24 09:08  嵌入式实操  阅读(165)  评论(0编辑  收藏  举报