rockchip: fix boot from non-MMC devices
[openwrt/openwrt.git] / target / linux / rockchip / image / Makefile
index d34948f6aed98c915152b2729086785ecdb68d81..5de053bdb6bbb9a93877bfc40fccf49aa077b491 100644 (file)
@@ -21,7 +21,7 @@ endef
 
 define Build/boot-script
        # Make an U-boot image and copy it to the boot partition
-       mkimage -A arm -O linux -T script -C none -a 0 -e 0 -d $(if $(1),$(1),mmc).bootscript $@.boot/boot.scr
+       mkimage -A arm -O linux -T script -C none -a 0 -e 0 -d $(if $(1),$(1),default).bootscript $@.boot/boot.scr
 endef
 
 define Build/pine64-img