1 Star 0 Fork 1

wjcapple36/linux-mx287

forked from glinklib/linux-mx287 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build-kernel 2.03 KB
一键复制 编辑 原始数据 按行查看 历史
Menglong Woo 提交于 2016-07-22 10:17 . Raw EasyArm ARCH_MXS
#!/bin/sh
echo "build menu, please select your choice:"
echo " 1 make clean"
echo " 2 build for EPC_28xA"
echo " 3 build for EPC_283B"
echo " 4 build for EPC_287B"
echo " 5 build for EPC_280"
echo " 6 build for IoT_3960"
echo " 7 build for IoT_3962"
echo " 8 build for A287_W128LI"
echo " 9 build for A287_WB128LI"
echo " q exit"
make_distclean() {
echo "make distclean"
make clean
}
config_EPC_28xA() {
echo "EPC_28xA"
cp .config .config.bk
cp arch/arm/configs/EPC_28xA_defconfig .config
make uImage
cp .config.bk .config
}
config_EPC_283B() {
echo "EPC_283B"
cp .config .config.bk
cp arch/arm/configs/EPC_283B_defconfig .config
make uImage
cp .config.bk .config
}
config_EPC_287B() {
echo "EPC_287B"
cp .config .config.bk
cp arch/arm/configs/EPC_287B_defconfig .config
make uImage
cp .config.bk .config
}
config_EPC_280() {
echo "EPC_280"
cp .config .config.bk
cp arch/arm/configs/EPC_280_defconfig .config
make uImage
cp .config.bk .config
}
config_IoT_3960() {
echo "IoT_3960"
cp .config .config.bk
cp arch/arm/configs/IoT_3960_defconfig .config
make uImage
cp .config.bk .config
}
config_IoT_3962() {
echo "IoT_3962"
cp .config .config.bk
cp arch/arm/configs/IoT_3962_defconfig .config
make uImage
cp .config.bk .config
}
config_A287_W128LI() {
echo "A287_W128LI"
cp .config .config.bk
cp arch/arm/configs/A287_W128LI_defconfig .config
make uImage
cp .config.bk .config
}
config_A287_WB128LI() {
echo "A287_WB128LI"
cp .config .config.bk
cp arch/arm/configs/A287_WB128LI_defconfig .config
make uImage
cp .config.bk .config
}
read sel
echo "select $sel"
case $sel in
[1]) make_distclean;;
[2]) config_EPC_28xA;;
[3]) config_EPC_283B;;
[4]) config_EPC_287B;;
[5]) config_EPC_280;;
[6]) config_IoT_3960;;
[7]) config_IoT_3962;;
[8]) config_A287_W128LI;;
[9]) config_A287_WB128LI;;
[q] | [Q]) exit 0;;
*) echo "ONLY accept 1~9/q/Q"
esac
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/8721/linux-mx287.git
git@gitee.com:8721/linux-mx287.git
8721
linux-mx287
linux-mx287
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385