[openwrt/openwrt] imx6: image: cleanup image recipes

LEDE Commits lede-commits at lists.infradead.org
Thu May 20 05:23:49 PDT 2021


pepe2k pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/7e7cef633408b9605518279787b9fd16d79d7043

commit 7e7cef633408b9605518279787b9fd16d79d7043
Author: Piotr Dymacz <pepe2k at gmail.com>
AuthorDate: Fri Jan 8 12:18:32 2021 +0100

    imx6: image: cleanup image recipes
    
    - drop unused 'UBOOT' variable from 'Device/apalis' recipe
    - fix 'KERNEL_SUFFIX' for 'Device/cubox-i' (should be '-zImage')
    - drop redundant 'DEVICE_{VENDOR,MODEL}' from 'Device/ventana-large'
    - other, minor fixes
    
    Signed-off-by: Piotr Dymacz <pepe2k at gmail.com>
---
 target/linux/imx6/image/Makefile | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6/image/Makefile
index 9ce620655a..7608bd6d8c 100644
--- a/target/linux/imx6/image/Makefile
+++ b/target/linux/imx6/image/Makefile
@@ -177,8 +177,6 @@ TARGET_DEVICES += ventana
 
 define Device/ventana-large
   $(Device/ventana)
-  DEVICE_VENDOR := Gateworks
-  DEVICE_MODEL := Ventana family
   DEVICE_VARIANT := large NAND flash
   DEVICE_NAME := ventana
   IMAGES := nand.ubi
@@ -199,8 +197,9 @@ define Device/cubox-i
   DEVICE_VENDOR := SolidRun
   DEVICE_MODEL := CuBox-i
   KERNEL := kernel-bin
+  KERNEL_SUFFIX := -zImage
   UBOOT := mx6cuboxi
-  BOOT_SCRIPT = bootscript-cubox
+  BOOT_SCRIPT := bootscript-cubox
   DEVICE_NAME := cubox
   DEVICE_PACKAGES := kmod-drm-imx kmod-drm-imx-hdmi kmod-usb-hid
   DEVICE_DTS := imx6q-cubox-i imx6dl-cubox-i imx6q-hummingboard imx6dl-hummingboard
@@ -216,15 +215,14 @@ define Device/apalis
   DEVICE_MODEL := Apalis family
   SUPPORTED_DEVICES := apalis,ixora apalis,eval
   DEVICE_DTS := \
-	  imx6q-apalis-eval \
-	  imx6q-apalis-ixora \
-	  imx6q-apalis-ixora-v1.1
+	imx6q-apalis-eval \
+	imx6q-apalis-ixora \
+	imx6q-apalis-ixora-v1.1
   DEVICE_PACKAGES := \
 	kmod-can kmod-can-flexcan kmod-can-raw \
 	kmod-leds-gpio kmod-gpio-button-hotplug \
 	kmod-pps-gpio kmod-rtc-ds1307
   BOOT_SCRIPT := bootscript-apalis
-  UBOOT := apalis_imx6
   FILESYSTEMS := squashfs
   IMAGES := combined.bin sysupgrade.bin
   DEVICE_IMG_NAME = $$(DEVICE_IMG_PREFIX)-$$(1).$$(2)



More information about the lede-commits mailing list