10 lines
680 B
Bash
Executable File
10 lines
680 B
Bash
Executable File
#!/bin/bash
|
|
export PATH=$PATH:../../toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin
|
|
FLAG="ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- INSTALL_MOD_PATH=out "
|
|
# make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- INSTALL_MOD_PATH=out sunxi_defconfig
|
|
# make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- menuconfig
|
|
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- INSTALL_MOD_PATH=out -j12
|
|
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- INSTALL_MOD_PATH=out -j12 modules #编译模块
|
|
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- INSTALL_MOD_PATH=out -j12 modules_install #安装模块
|
|
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- INSTALL_MOD_PATH=out dtbs #编译设备树
|