搜索

430

主题

515

帖子

2134

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2134
QQ
发表于 2020-5-5 16:37:00 3176 浏览 0 回复

编译RK3399 uboot 报错解决

本帖最后由 tangh 于 2020-5-5 16:57 编辑
  1. harmony@rk-server:~/rk3399buildroot$ ./build.sh all
  2. Dump env:
  3. --------------------
  4. CMD = /home/harmony/rk3399buildroot/device/rockchip/common/build.sh
  5. COMMON_DIR = /home/harmony/rk3399buildroot/device/rockchip/common
  6. TOP_DIR = /home/harmony/rk3399buildroot
  7. BOARD_CONFIG = /home/harmony/rk3399buildroot/device/rockchip/.BoardConfig.mk
  8. SDFUSE_DIR = /home/harmony/rk3399buildroot/friendlyelec/rk3399/sd-fuse_rk3399
  9. BUILD_TARGET = all
  10. NEW_BOARD_CONFIG = /home/harmony/rk3399buildroot/device/rockchip/rk3399/all

  11. ============================================
  12. TARGET_ARCH=arm64
  13. TARGET_PLATFORM=rk3399
  14. TARGET_UBOOT_CONFIG=rk3399_defconfig
  15. TARGET_KERNEL_CONFIG=nanopi4_linux_defconfig
  16. TARGET_KERNEL_DTS=rk3399-nanopi4-rev00
  17. TARGET_BUILDROOT_CONFIG=rockchip_rk3399
  18. TARGET_RECOVERY_CONFIG=rockchip_rk3399_recovery
  19. TARGET_PCBA_CONFIG=rockchip_rk3399_pcba
  20. TARGET_RAMBOOT_CONFIG=
  21. ============================================
  22. ============Start build uboot============
  23. TARGET_UBOOT_CONFIG=rk3399_defconfig
  24. =========================================
  25. toolchain: /home/harmony/rk3399buildroot/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-
  26. #
  27. # configuration written to .config
  28. #
  29. make: *** No rule to make target '/home/harmony/rk3399-buildroot/u-boot/include/common.h', needed by 'include/config/auto.conf'.  Stop
复制代码


问题:原始解压包存在编译的临时文件。
直接执行:./build.sh cleanall  即可
或者:cd u-boot/
make distclean



手机微信同号:13682654092
回复

使用道具 举报

返回列表
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则


登录或注册
快速回复 返回顶部 返回列表