[openwrt/openwrt] ipq40xx: tidy up device recipe for Edgecore OAP100

LEDE Commits lede-commits at lists.infradead.org
Sat Sep 26 12:28:21 EDT 2020


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/4682d4d77075775f54363dbad8898a501705da80

commit 4682d4d77075775f54363dbad8898a501705da80
Author: Sungbo Eo <mans0n at gorani.run>
AuthorDate: Sat Sep 26 17:49:35 2020 +0900

    ipq40xx: tidy up device recipe for Edgecore OAP100
    
    * split up DEVICE_TITLE into DEVICE_{VENDOR,MODEL}
    * use SOC instead of DEVICE_DTS
    
    Signed-off-by: Sungbo Eo <mans0n at gorani.run>
---
 target/linux/ipq40xx/image/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/target/linux/ipq40xx/image/Makefile b/target/linux/ipq40xx/image/Makefile
index 77d4d52ec0..6e5620a140 100644
--- a/target/linux/ipq40xx/image/Makefile
+++ b/target/linux/ipq40xx/image/Makefile
@@ -359,12 +359,13 @@ TARGET_DEVICES += edgecore_ecw5211
 define Device/edgecore_oap100
 	$(call Device/FitImage)
 	$(call Device/UbiFit)
-	DEVICE_TITLE := Edgecore OAP100
+	DEVICE_VENDOR := Edgecore
+	DEVICE_MODEL := OAP100
+	SOC := qcom-ipq4019
 	BLOCKSIZE := 128k
 	PAGESIZE := 2048
 	IMAGES := nand-sysupgrade.bin
 	DEVICE_DTS_CONFIG := config at ap.dk07.1-c1
-	DEVICE_DTS := qcom-ipq4019-oap100
 	DEVICE_PACKAGES := ipq-wifi-edgecore_oap100 kmod-usb-acm kmod-usb-net kmod-usb-net-cdc-qmi uqmi
 endef
 TARGET_DEVICES += edgecore_oap100



More information about the lede-commits mailing list