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

posted on 2018-12-29 17:01  平凡的世界&&技术博客  阅读(367)  评论(0编辑  收藏  举报

导航