[openwrt/openwrt] layerscape: set firmware package to skip installation

LEDE Commits lede-commits at lists.infradead.org
Mon Oct 28 16:08:39 PDT 2024


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/1cb776481221680af4c0e7944a136ddebfa1694a

commit 1cb776481221680af4c0e7944a136ddebfa1694a
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Sat Oct 26 23:16:21 2024 +0200

    layerscape: set firmware package to skip installation
    
    Add the '~' prefix to package that needs to skip installation as they
    are meta-package just to download and compile firmware package for the
    final firmware.
    
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 target/linux/layerscape/image/armv7.mk     |  2 +-
 target/linux/layerscape/image/armv8_64b.mk | 68 +++++++++++++++---------------
 2 files changed, 35 insertions(+), 35 deletions(-)

diff --git a/target/linux/layerscape/image/armv7.mk b/target/linux/layerscape/image/armv7.mk
index 6812d94e1f..fd617a5e8d 100644
--- a/target/linux/layerscape/image/armv7.mk
+++ b/target/linux/layerscape/image/armv7.mk
@@ -31,7 +31,7 @@ define Device/fsl_ls1021a-twr
   DEVICE_VENDOR := NXP
   DEVICE_MODEL := TWR-LS1021A
   DEVICE_VARIANT := Default
-  DEVICE_PACKAGES += layerscape-rcw
+  DEVICE_PACKAGES += ~layerscape-rcw
   IMAGE/firmware.bin := \
     ls-clean | \
     ls-append $(1)-rcw.bin | pad-to 1M | \
diff --git a/target/linux/layerscape/image/armv8_64b.mk b/target/linux/layerscape/image/armv8_64b.mk
index 4bce779984..40452f3868 100644
--- a/target/linux/layerscape/image/armv8_64b.mk
+++ b/target/linux/layerscape/image/armv8_64b.mk
@@ -30,7 +30,7 @@ define Device/fsl_ls1012a-frdm
   DEVICE_MODEL := FRDM-LS1012A
   DEVICE_PACKAGES += \
     layerscape-ppfe \
-    trusted-firmware-a-ls1012a-frdm \
+    ~trusted-firmware-a-ls1012a-frdm \
     kmod-ppfe
   BLOCKSIZE := 256KiB
   IMAGE/firmware.bin := \
@@ -56,7 +56,7 @@ define Device/fsl_ls1012a-rdb
   DEVICE_MODEL := LS1012A-RDB
   DEVICE_PACKAGES += \
     layerscape-ppfe \
-    trusted-firmware-a-ls1012a-rdb \
+    ~trusted-firmware-a-ls1012a-rdb \
     kmod-hwmon-ina2xx \
     kmod-iio-fxas21002c-i2c \
     kmod-iio-fxos8700-i2c \
@@ -80,7 +80,7 @@ define Device/fsl_ls1012a-frwy-sdboot
   DEVICE_MODEL := FRWY-LS1012A
   DEVICE_PACKAGES += \
     layerscape-ppfe \
-    trusted-firmware-a-ls1012a-frwy-sdboot \
+    ~trusted-firmware-a-ls1012a-frwy-sdboot \
     kmod-ppfe
   DEVICE_DTS := fsl-ls1012a-frwy
   IMAGES += firmware.bin
@@ -105,7 +105,7 @@ define Device/fsl_ls1028a-rdb
   DEVICE_VARIANT := Default
   KERNEL = kernel-bin | gzip | fit gzip $$(DEVICE_DTS_DIR)/$$(DEVICE_DTS).dtb
   DEVICE_PACKAGES += \
-    trusted-firmware-a-ls1028a-rdb \
+    ~trusted-firmware-a-ls1028a-rdb \
     kmod-hwmon-ina2xx \
     kmod-hwmon-lm90 \
     kmod-rtc-pcf2127
@@ -130,7 +130,7 @@ define Device/fsl_ls1028a-rdb-sdboot
   DEVICE_VARIANT := SD Card Boot
   DEVICE_DTS := fsl-ls1028a-rdb
   DEVICE_PACKAGES += \
-    trusted-firmware-a-ls1028a-rdb-sdboot \
+    ~trusted-firmware-a-ls1028a-rdb-sdboot \
     kmod-hwmon-ina2xx \
     kmod-hwmon-lm90 \
     kmod-rtc-pcf2127
@@ -151,8 +151,8 @@ define Device/fsl_ls1043a-rdb
   DEVICE_MODEL := LS1043A-RDB
   DEVICE_VARIANT := Default
   DEVICE_PACKAGES += \
-    layerscape-fman \
-    trusted-firmware-a-ls1043a-rdb \
+    ~layerscape-fman \
+    ~trusted-firmware-a-ls1043a-rdb \
     fmc fmc-eth-config \
     kmod-ahci-qoriq \
     kmod-hwmon-ina2xx \
@@ -176,8 +176,8 @@ define Device/fsl_ls1043a-rdb-sdboot
   DEVICE_MODEL := LS1043A-RDB
   DEVICE_VARIANT := SD Card Boot
   DEVICE_PACKAGES += \
-    layerscape-fman \
-    trusted-firmware-a-ls1043a-rdb-sdboot \
+    ~layerscape-fman \
+    ~trusted-firmware-a-ls1043a-rdb-sdboot \
     fmc fmc-eth-config \
     kmod-ahci-qoriq \
     kmod-hwmon-ina2xx \
@@ -200,8 +200,8 @@ define Device/fsl_ls1046a-frwy
   DEVICE_MODEL := FRWY-LS1046A
   DEVICE_VARIANT := Default
   DEVICE_PACKAGES += \
-    layerscape-fman \
-    trusted-firmware-a-ls1046a-frwy
+    ~layerscape-fman \
+    ~trusted-firmware-a-ls1046a-frwy
   IMAGE/firmware.bin := \
     ls-clean | \
     ls-append $(1)-bl2.pbl | pad-to 1M | \
@@ -220,8 +220,8 @@ define Device/fsl_ls1046a-frwy-sdboot
   DEVICE_MODEL := FRWY-LS1046A
   DEVICE_VARIANT := SD Card Boot
   DEVICE_PACKAGES += \
-    layerscape-fman \
-    trusted-firmware-a-ls1046a-frwy-sdboot
+    ~layerscape-fman \
+    ~trusted-firmware-a-ls1046a-frwy-sdboot
   DEVICE_DTS := fsl-ls1046a-frwy
   IMAGE/sdcard.img.gz := \
     ls-clean | \
@@ -241,8 +241,8 @@ define Device/fsl_ls1046a-rdb
   DEVICE_MODEL := LS1046A-RDB
   DEVICE_VARIANT := Default
   DEVICE_PACKAGES += \
-    layerscape-fman \
-    trusted-firmware-a-ls1046a-rdb \
+    ~layerscape-fman \
+    ~trusted-firmware-a-ls1046a-rdb \
     fmc fmc-eth-config \
     kmod-ahci-qoriq \
     kmod-hwmon-ina2xx \
@@ -266,8 +266,8 @@ define Device/fsl_ls1046a-rdb-sdboot
   DEVICE_MODEL := LS1046A-RDB
   DEVICE_VARIANT := SD Card Boot
   DEVICE_PACKAGES += \
-    layerscape-fman \
-    trusted-firmware-a-ls1046a-rdb-sdboot \
+    ~layerscape-fman \
+    ~trusted-firmware-a-ls1046a-rdb-sdboot \
     fmc fmc-eth-config \
     kmod-ahci-qoriq \
     kmod-hwmon-ina2xx \
@@ -291,9 +291,9 @@ define Device/fsl_ls1088a-rdb
   DEVICE_MODEL := LS1088A-RDB
   DEVICE_VARIANT := Default
   DEVICE_PACKAGES += \
-    layerscape-mc \
-    layerscape-dpl \
-    trusted-firmware-a-ls1088a-rdb \
+    ~layerscape-mc \
+    ~layerscape-dpl \
+    ~trusted-firmware-a-ls1088a-rdb \
     restool \
     kmod-ahci-qoriq \
     kmod-hwmon-ina2xx \
@@ -319,9 +319,9 @@ define Device/fsl_ls1088a-rdb-sdboot
   DEVICE_MODEL := LS1088A-RDB
   DEVICE_VARIANT := SD Card Boot
   DEVICE_PACKAGES += \
-    layerscape-mc \
-    layerscape-dpl \
-    trusted-firmware-a-ls1088a-rdb-sdboot \
+    ~layerscape-mc \
+    ~layerscape-dpl \
+    ~trusted-firmware-a-ls1088a-rdb-sdboot \
     restool \
     kmod-ahci-qoriq \
     kmod-hwmon-ina2xx \
@@ -346,9 +346,9 @@ define Device/fsl_ls2088a-rdb
   DEVICE_VENDOR := NXP
   DEVICE_MODEL := LS2088ARDB
   DEVICE_PACKAGES += \
-    layerscape-mc \
-    layerscape-dpl \
-    trusted-firmware-a-ls2088a-rdb \
+    ~layerscape-mc \
+    ~layerscape-dpl \
+    ~trusted-firmware-a-ls2088a-rdb \
     restool \
     kmod-ahci-qoriq
   IMAGE/firmware.bin := \
@@ -370,10 +370,10 @@ define Device/fsl_lx2160a-rdb
   DEVICE_MODEL := LX2160A-RDB
   DEVICE_VARIANT := Rev2.0 silicon
   DEVICE_PACKAGES += \
-    layerscape-mc \
-    layerscape-dpl \
-    layerscape-ddr-phy \
-    trusted-firmware-a-lx2160a-rdb \
+    ~layerscape-mc \
+    ~layerscape-dpl \
+    ~layerscape-ddr-phy \
+    ~trusted-firmware-a-lx2160a-rdb \
     restool
   IMAGE/firmware.bin := \
     ls-clean | \
@@ -396,10 +396,10 @@ define Device/fsl_lx2160a-rdb-sdboot
   DEVICE_MODEL := LX2160A-RDB
   DEVICE_VARIANT := Rev2.0 silicon SD Card Boot
   DEVICE_PACKAGES += \
-    layerscape-mc \
-    layerscape-dpl \
-    layerscape-ddr-phy \
-    trusted-firmware-a-lx2160a-rdb-sdboot \
+    ~layerscape-mc \
+    ~layerscape-dpl \
+    ~layerscape-ddr-phy \
+    ~trusted-firmware-a-lx2160a-rdb-sdboot \
     restool
   DEVICE_DTS := fsl-lx2160a-rdb
   IMAGE/sdcard.img.gz := \




More information about the lede-commits mailing list