From: Moritz Warning Date: Sun, 14 Jul 2019 08:53:27 +0000 (+0200) Subject: mpc85xx: split up DEVICE_TITLE X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4a06d62f0e638a5edfc859bd8f3a58ab59f9790e;p=openwrt%2Fstaging%2Fjogo.git mpc85xx: split up DEVICE_TITLE Splits up DEVICE_TITLE into DEVICE_VENDOR, DEVICE_MODEL and DEVICE_VARIANT. Signed-off-by: Moritz Warning --- diff --git a/target/linux/mpc85xx/image/Makefile b/target/linux/mpc85xx/image/Makefile index c2ddcb32c5..156f1e6eda 100644 --- a/target/linux/mpc85xx/image/Makefile +++ b/target/linux/mpc85xx/image/Makefile @@ -47,7 +47,9 @@ endef ifeq ($(SUBTARGET),generic) define Device/tl-wdr4900-v1 - DEVICE_TITLE := TP-Link TL-WDR4900 + DEVICE_VENDOR := TP-Link + DEVICE_MODEL := TL-WDR4900 + DEVICE_VARIANT := v1 TPLINK_HWID := 0x49000001 TPLINK_HWREV := 1 TPLINK_FLASHLAYOUT := 16Mppc @@ -67,7 +69,9 @@ endef TARGET_DEVICES += tl-wdr4900-v1 define Device/red-15w-rev1 - DEVICE_TITLE := Sophos RED 15w Rev.1 + DEVICE_VENDOR := Sophos + DEVICE_MODEL := RED 15w + DEVICE_VARIANT := Rev.1 # Original firmware uses a dedicated DTB-partition. # The bootloader however supports FIT-images. KERNEL = kernel-bin | gzip | fit gzip $(KDIR)/image-$$(DEVICE_DTS).dtb @@ -82,7 +86,8 @@ endif ifeq ($(SUBTARGET),p1020) define Device/hiveap-330 - DEVICE_TITLE := Aerohive HiveAP-330 + DEVICE_VENDOR := Aerohive + DEVICE_MODEL := HiveAP-330 DEVICE_PACKAGES := kmod-tpm-i2c-atmel BLOCKSIZE := 128k KERNEL := kernel-bin | gzip | uImage gzip @@ -99,7 +104,8 @@ endef TARGET_DEVICES += hiveap-330 define Device/panda - DEVICE_TITLE := OCEDO Panda + DEVICE_VENDOR := OCEDO + DEVICE_MODEL := Panda DEVICE_PACKAGES := kmod-rtc-ds1307 uboot-envtools KERNEL = kernel-bin | gzip | fit gzip $(KDIR)/image-$$(DEVICE_DTS).dtb PAGESIZE := 2048 @@ -117,7 +123,8 @@ endif ifeq ($(SUBTARGET),p2020) define Device/p2020rdb - DEVICE_TITLE := Freescale P2020RDB + DEVICE_VENDOR := Freescale + DEVICE_MODEL := P2020RDB DEVICE_DTS_DIR := $(DTS_DIR)/fsl DEVICE_PACKAGES := kmod-hwmon-core kmod-hwmon-lm90 kmod-rtc-ds1307 \ kmod-gpio-pca953x kmod-eeprom-at24