From 6545c71d2c7c766e9caadd379192d39a94c949ad Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sun, 17 Dec 2017 00:30:21 +0100 Subject: ramips: sync image filename with boardname Use _ as image name for board using the devicetree compat string as boardname. Replace the underline of the device define, to keep the SUPPORTED_DEVICES in sync with a devicetree compat string based boardname. Override the default SUPPORTED_DEVICES for board which are having an userspace boardname with an underline. Signed-off-by: Mathias Kresin --- target/linux/ramips/image/mt7621.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'target/linux/ramips/image/mt7621.mk') diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index b55f696a86..ca1e3661b1 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -329,16 +329,15 @@ define Device/zbt-we1326 endef TARGET_DEVICES += zbt-we1326 -define Device/zbt-we3526 +define Device/zbtlink_zbt-we3526 DTS := ZBT-WE3526 IMAGE_SIZE := $(ralink_default_fw_size_16M) - SUPPORTED_DEVICES := zbtlink,zbt-we3526 DEVICE_TITLE := ZBT WE3526 DEVICE_PACKAGES := \ kmod-sdhci-mt7620 kmod-mt7603 kmod-mt76x2 \ kmod-usb3 kmod-usb-ledtrig-usbport wpad-mini endef -TARGET_DEVICES += zbt-we3526 +TARGET_DEVICES += zbtlink_zbt-we3526 define Device/zbt-wg2626 DTS := ZBT-WG2626 -- cgit v1.2.3