diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile index 9d6f207b3f2..1dc62d244ff 100644 --- a/target/linux/mvebu/image/Makefile +++ b/target/linux/mvebu/image/Makefile @@ -14,7 +14,7 @@ KERNEL_LOADADDR := 0x00008000 define Build/boot-scr rm -f $@-boot.scr sed \ - -e 's#@ROOT@#$(IMG_PART_SIGNATURE)#g' \ + -e 's#@ROOT@#$(if $(1),$(1),$(IMG_PART_SIGNATURE))#g' \ -e 's#@DTB@#$(firstword $(DEVICE_DTS))#g' \ $(BOOT_SCRIPT).bootscript > $@-new.bootscript mkimage -A arm -O linux -T script -C none -a 0 -e 0 -d $@-new.bootscript $@-boot.scr