Ubuntu16.04 64位编译安装Hi3520D_SDK_V1.0.4.0

1.复制uboot/tools/mkimage到环境变量路径

2.修改kernel/timeconst.pl,删除define

3.busybox makefile修改:

/itc_work/hi3520D_SDK_V1.0.4.0/osdrv/busybox/busybox-1.16.1/Makefile:431: *** mixed implicit and normal rules: deprecated syntax

/itc_work/hi3520D_SDK_V1.0.4.0/osdrv/busybox/busybox-1.16.1/Makefile:1279: *** mixed implicit and normal rules: deprecated syntax

后来查资料发现:是我目前系统(ubuntu16.04.3)系统的make工具太新导致,而busybox里面的makefile目前的无法兼容新版本,改呗:

root@ubuntu:/itc_work/hi3520D_SDK_V1.0.4.0/osdrv/busybox/busybox-1.16.1# vi Makefile

431  config %config: scripts_basic outputmakefile FORCE   改成

431  %config: scripts_basic outputmakefile FORCE

还有是:

1279  /%/: prepare scripts FORCE   改成

1279  %/: prepare scripts FORCE

上一篇:基于JavaScript判断浏览器到底是关闭还是刷新(超准确)


下一篇:android判断当前应用程序处于前台还是后台