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

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


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

commit e2f284dbd1841a78bc35d2ae87aec4e4fd9769d9
Author: Moritz Warning <moritzwarning at web.de>
AuthorDate: Tue May 4 21:15:13 2021 +0200

    x86: 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/x86/image/64.mk      | 3 ++-
 target/linux/x86/image/generic.mk | 3 ++-
 target/linux/x86/image/geode.mk   | 6 ++++--
 target/linux/x86/image/legacy.mk  | 3 ++-
 4 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/target/linux/x86/image/64.mk b/target/linux/x86/image/64.mk
index d5033f932a..f54858d0b7 100644
--- a/target/linux/x86/image/64.mk
+++ b/target/linux/x86/image/64.mk
@@ -1,5 +1,6 @@
 define Device/generic
-  DEVICE_TITLE := Generic x86/64
+  DEVICE_VENDOR := Generic
+  DEVICE_MODEL := x86/64
   DEVICE_PACKAGES += kmod-amazon-ena kmod-bnx2 kmod-e1000e kmod-e1000 \
 	kmod-forcedeth kmod-igb kmod-ixgbe kmod-amd-xgbe kmod-r8169 kmod-fs-vfat
   GRUB2_VARIANT := generic
diff --git a/target/linux/x86/image/generic.mk b/target/linux/x86/image/generic.mk
index 81cccd30b0..e9545fbf31 100644
--- a/target/linux/x86/image/generic.mk
+++ b/target/linux/x86/image/generic.mk
@@ -1,5 +1,6 @@
 define Device/generic
-  DEVICE_TITLE := Generic x86
+  DEVICE_VENDOR := Generic
+  DEVICE_MODEL := x86
   DEVICE_PACKAGES += kmod-3c59x kmod-8139too kmod-e100 kmod-e1000 kmod-natsemi \
 	kmod-ne2k-pci kmod-pcnet32 kmod-r8169 kmod-sis900 kmod-tg3 \
 	kmod-via-rhine kmod-via-velocity kmod-forcedeth kmod-fs-vfat
diff --git a/target/linux/x86/image/geode.mk b/target/linux/x86/image/geode.mk
index 2ed2245f7d..6cea887926 100644
--- a/target/linux/x86/image/geode.mk
+++ b/target/linux/x86/image/geode.mk
@@ -1,5 +1,6 @@
 define Device/generic
-  DEVICE_TITLE := Generic x86/Geode
+  DEVICE_VENDOR := Generic
+  DEVICE_MODEL := x86/Geode
   DEVICE_PACKAGES += kmod-crypto-cbc kmod-crypto-hw-geode kmod-ledtrig-gpio
   GRUB2_VARIANT := legacy
 endef
@@ -7,7 +8,8 @@ TARGET_DEVICES += generic
 
 define Device/geos
   $(call Device/generic)
-  DEVICE_TITLE := Traverse Technologies Geos
+  DEVICE_VENDOR := Traverse Technologies
+  DEVICE_MODEL := Geos
   DEVICE_PACKAGES += br2684ctl flashrom kmod-hwmon-lm90 kmod-mppe kmod-pppoa \
 	kmod-usb-ohci-pci linux-atm ppp-mod-pppoa pppdump pppstats soloscli tc
 endef
diff --git a/target/linux/x86/image/legacy.mk b/target/linux/x86/image/legacy.mk
index 5c13f95157..6c0d8e78f9 100644
--- a/target/linux/x86/image/legacy.mk
+++ b/target/linux/x86/image/legacy.mk
@@ -1,5 +1,6 @@
 define Device/generic
-  DEVICE_TITLE := Generic x86/legacy
+  DEVICE_VENDOR := Generic
+  DEVICE_MODEL := x86/legacy
   DEVICE_PACKAGES += kmod-3c59x kmod-8139too kmod-e100 kmod-e1000 \
 	kmod-natsemi kmod-ne2k-pci kmod-pcnet32 kmod-r8169 kmod-sis900 \
 	kmod-tg3 kmod-via-rhine kmod-via-velocity kmod-forcedeth



More information about the lede-commits mailing list