Page 1 of 1

build recovery.img faild

Posted: 2025-01-22 2:21
by mrlb
add config support

Code: Select all

export RK_ENABLE_RECOVERY=y

Code: Select all

./build.sh recovery
error:

Code: Select all

make: Entering directory '/home/lb/luckfox/sysdrv'
make: Leaving directory '/home/lb/luckfox/sysdrv'
make: Entering directory '/home/lb/luckfox/sysdrv'
Makefile:534: *** missing separator.  Stop.
make: Leaving directory '/home/lb/luckfox/sysdrv'
[build.sh:error] Running build_recovery failed!
[build.sh:error] exit code 2 from line 566:
[build.sh:info]     make -C ${SDK_SYSDRV_DIR} OUTPUT_SYSDRV_RAMDISK_TINY_ROOTFS_DIR=$RK_PROJECT_PATH_RAMDISK_TINY_ROOTFS OUTPUT_SYSDRV_RAMDISK_DIR=$RK_PROJECT_PATH_RAMDISK busybox kernel

Re: build recovery.img faild

Posted: 2025-01-22 13:38
by Ryand
The information provided is a bit limited. Which firmware is being compiled by ./build.sh lunch? Ensure that the build dependencies for busybox and kernel are correctly installed.