|
发表于 2020-9-24 10:19:44
只看该作者
地板
可以看到make.sh里面的代码如下,其实关于这部分,应该是写得不好,所以如果使用pc机器,执行一次后
第二次就不需要再执行
- CC_CONFIG=device/rockchip/rk3328/rk3328_box/Config.mk
- PC_CONFIG=device/rockchip/rk3328/rk3328_roc_pc_box/Config.mk
- JD4_CONFIG=device/rockchip/rk3328/rk3328_core_jd4/Config.mk
- if [ $1 == "rk3328-roc-cc" ];then
- if [ -f .rk3328_config.mk ];then
- rm .rk3328_config.mk
- fi
- ln -s $CC_CONFIG .rk3328_config.mk
- exit 0
- elif [ $1 == "rk3328-roc-pc" ];then
- if [ -f .rk3328_config.mk ];then
- rm .rk3328_config.mk
- fi
- ln -s $PC_CONFIG .rk3328_config.mk
- exit 0
- elif [ $1 == "rk3328-core-jd4" ];then
- if [ -f .rk3328_config.mk ];then
- rm .rk3328_config.mk
- fi
- ln -s $JD4_CONFIG .rk3328_config.mk
- exit 0
- fi
复制代码 |
|