|
发表于 2020-5-5 16:37:00
3174 浏览 0 回复
编译RK3399 uboot 报错解决
本帖最后由 tangh 于 2020-5-5 16:57 编辑
- harmony@rk-server:~/rk3399buildroot$ ./build.sh all
- Dump env:
- --------------------
- CMD = /home/harmony/rk3399buildroot/device/rockchip/common/build.sh
- COMMON_DIR = /home/harmony/rk3399buildroot/device/rockchip/common
- TOP_DIR = /home/harmony/rk3399buildroot
- BOARD_CONFIG = /home/harmony/rk3399buildroot/device/rockchip/.BoardConfig.mk
- SDFUSE_DIR = /home/harmony/rk3399buildroot/friendlyelec/rk3399/sd-fuse_rk3399
- BUILD_TARGET = all
- NEW_BOARD_CONFIG = /home/harmony/rk3399buildroot/device/rockchip/rk3399/all
- ============================================
- TARGET_ARCH=arm64
- TARGET_PLATFORM=rk3399
- TARGET_UBOOT_CONFIG=rk3399_defconfig
- TARGET_KERNEL_CONFIG=nanopi4_linux_defconfig
- TARGET_KERNEL_DTS=rk3399-nanopi4-rev00
- TARGET_BUILDROOT_CONFIG=rockchip_rk3399
- TARGET_RECOVERY_CONFIG=rockchip_rk3399_recovery
- TARGET_PCBA_CONFIG=rockchip_rk3399_pcba
- TARGET_RAMBOOT_CONFIG=
- ============================================
- ============Start build uboot============
- TARGET_UBOOT_CONFIG=rk3399_defconfig
- =========================================
- 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-
- #
- # configuration written to .config
- #
- 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
|
|
|
|
|
登录或注册
|