[openwrt/openwrt] bcm47xx: use device vendor/model variable

LEDE Commits lede-commits at lists.infradead.org
Fri Sep 24 00:45:45 PDT 2021


aparcar pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b34aa6aff71374d5e4eb7ea2dda11cf6305d512b

commit b34aa6aff71374d5e4eb7ea2dda11cf6305d512b
Author: Moritz Warning <moritzwarning at web.de>
AuthorDate: Wed May 5 11:06:22 2021 +0200

    bcm47xx: use device vendor/model variable
    
    Remove use of DEVICE_TITLE in favor of the
    DEVICE_VENDOR and DEVICE_MODEL as used by
    all other targets.
    
    Signed-off-by: Moritz Warning <moritzwarning at web.de>
---
 target/linux/bcm47xx/image/Makefile   | 9 ++++++---
 target/linux/bcm47xx/image/generic.mk | 3 ++-
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/target/linux/bcm47xx/image/Makefile b/target/linux/bcm47xx/image/Makefile
index 30a1b2f476..4341a232cf 100644
--- a/target/linux/bcm47xx/image/Makefile
+++ b/target/linux/bcm47xx/image/Makefile
@@ -146,17 +146,20 @@ define Device/Default
 endef
 
 define Device/standard
-  DEVICE_TITLE := Image with LZMA loader and LZMA compressed kernel
+  DEVICE_VENDOR := Generic
+  DEVICE_MODEL := Image with LZMA loader and LZMA compressed kernel
 endef
 
 define Device/standard-noloader-gz
-  DEVICE_TITLE := Image with gzipped kernel
+  DEVICE_VENDOR := Generic
+  DEVICE_MODEL := Image with gzipped kernel
   KERNEL_NAME = vmlinux.gz
   IMAGE/trx := append-rootfs | trx-without-loader
 endef
 
 define Device/standard-noloader-nodictionarylzma
-  DEVICE_TITLE := Image with LZMA compressed kernel matching CFE decompressor
+  DEVICE_VENDOR := Generic
+  DEVICE_MODEL := Image with LZMA compressed kernel matching CFE decompressor
   KERNEL_NAME = vmlinux-nodictionary.lzma
   IMAGE/trx := append-rootfs | trx-without-loader
 endef
diff --git a/target/linux/bcm47xx/image/generic.mk b/target/linux/bcm47xx/image/generic.mk
index 61204bf232..94064cb7d1 100644
--- a/target/linux/bcm47xx/image/generic.mk
+++ b/target/linux/bcm47xx/image/generic.mk
@@ -66,7 +66,8 @@ TARGET_DEVICES += linksys_e3000-v1
 
 # generic has Ethernet drivers as modules so overwrite standard image
 define Device/standard
-  DEVICE_TITLE := Image with LZMA loader and LZMA compressed kernel
+  DEVICE_VENDOR := Generic
+  DEVICE_MODEL := Image with LZMA loader and LZMA compressed kernel
   DEVICE_PACKAGES := kmod-b44 kmod-bgmac kmod-tg3
 endef
 TARGET_DEVICES += standard



More information about the lede-commits mailing list