diff mbox series

[OpenWrt-Devel] imx6: image: ventana: Add missing BOOT_SCRIPT variable

Message ID 1542966865-1386-1-git-send-email-ynezz@true.cz
State Accepted
Delegated to: Hauke Mehrtens
Headers show
Series [OpenWrt-Devel] imx6: image: ventana: Add missing BOOT_SCRIPT variable | expand

Commit Message

Petr Štetiar Nov. 23, 2018, 9:54 a.m. UTC
This is probably theoretical problem as the Ventana is defined first in
the image Makefile, but once the position of the definition would change
in the future (alphabetical sorting?) it would get bootscript from the
previous board which would have BOOT_SCRIPT set.

Cc: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
---
 target/linux/imx6/image/Makefile | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6/image/Makefile
index f13412f..9dd5b52 100644
--- a/target/linux/imx6/image/Makefile
+++ b/target/linux/imx6/image/Makefile
@@ -136,6 +136,7 @@  define Device/ventana
   IMAGES := nand.ubi bootfs.tar.gz
   IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1).$$(2)
   UBINIZE_PARTS = boot=$$(KDIR_KERNEL_IMAGE).boot.ubifs=15
+  BOOT_SCRIPT := bootscript-ventana
   IMAGE/nand.ubi := append-ubi
   IMAGE/bootfs.tar.gz := bootfs.tar.gz | install-dtb
   IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1)-$$(2)