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

Petr Štetiar ynezz at true.cz
Fri Nov 23 04:54:25 EST 2018

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 at gateworks.com>
Signed-off-by: Petr Štetiar <ynezz at true.cz>
 target/linux/imx6/image/Makefile | 1 +
 1 file changed, 1 insertion(+)

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)

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list