From a8098607af11422c9a0a80d1749458784c0cf1f4 Mon Sep 17 00:00:00 2001 From: Moritz Warning Date: Sun, 14 Jul 2019 23:37:10 +0200 Subject: [PATCH] brcm2708: split up DEVICE_TITLE MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Splits up DEVICE_TITLE into DEVICE_VENDOR, DEVICE_MODEL and DEVICE_VARIANT. Fixes https://github.com/openwrt/openwrt/pull/2245 Signed-off-by: Moritz Warning Signed-off-by: Álvaro Fernández Rojas --- target/linux/brcm2708/image/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/target/linux/brcm2708/image/Makefile b/target/linux/brcm2708/image/Makefile index 96ea887e88..a9afa4e915 100644 --- a/target/linux/brcm2708/image/Makefile +++ b/target/linux/brcm2708/image/Makefile @@ -61,6 +61,7 @@ endef ### Devices ### define Device/Default + DEVICE_VENDOR := Raspberry Pi KERNEL := kernel-bin | kernel-img KERNEL_IMG := kernel.img IMAGES := factory.img.gz sysupgrade.img.gz @@ -70,7 +71,7 @@ define Device/Default endef define Device/rpi - DEVICE_TITLE := Raspberry Pi B/B+/CM/Zero/ZeroW + DEVICE_MODEL := B/B+/CM/Zero/ZeroW DEVICE_DTS := bcm2708-rpi-b bcm2708-rpi-b-plus bcm2708-rpi-cm bcm2708-rpi-zero bcm2708-rpi-zero-w SUPPORTED_DEVICES := \ rpi-b rpi-b-plus rpi-cm rpi-zero rpi-zero-w \ @@ -87,7 +88,7 @@ ifeq ($(SUBTARGET),bcm2708) endif define Device/rpi-2 - DEVICE_TITLE := Raspberry Pi 2B/3B/3B+/3CM/4B + DEVICE_MODEL := 2B/3B/3B+/3CM/4B DEVICE_DTS := bcm2709-rpi-2-b bcm2710-rpi-3-b bcm2710-rpi-3-b-plus bcm2711-rpi-4-b bcm2710-rpi-cm3 SUPPORTED_DEVICES := \ rpi-2-b rpi-3-b rpi-3-b-plus rpi-cm \ @@ -109,8 +110,8 @@ ifeq ($(SUBTARGET),bcm2709) endif define Device/rpi-3 + DEVICE_MODEL := 3B/3B+/3CM KERNEL_IMG := kernel8.img - DEVICE_TITLE := Raspberry Pi 3B/3B+/3CM DEVICE_DTS := broadcom/bcm2710-rpi-3-b broadcom/bcm2710-rpi-3-b-plus broadcom/bcm2710-rpi-cm3 SUPPORTED_DEVICES := \ rpi-3-b rpi-3-b-plus \ @@ -128,6 +129,7 @@ ifeq ($(SUBTARGET),bcm2710) endif define Device/rpi-4 + DEVICE_MODEL := 4B KERNEL_IMG := kernel8.img DEVICE_TITLE := Raspberry Pi 4B DEVICE_DTS := broadcom/bcm2711-rpi-4-b -- 2.30.2