aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/image/tp-link.mk
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-12-08 08:42:11 +0100
committerMathias Kresin <dev@kresin.me>2017-12-16 23:33:56 +0100
commit4a4d957d1a66ae5004b8ff01206a76ffa0cef9b5 (patch)
tree981adb5735f1de618d10b282222d120d5a283fb4 /target/linux/lantiq/image/tp-link.mk
parent58c6ad53a80565037815a4088cc8231c54cda3c6 (diff)
downloadupstream-4a4d957d1a66ae5004b8ff01206a76ffa0cef9b5.tar.gz
upstream-4a4d957d1a66ae5004b8ff01206a76ffa0cef9b5.tar.bz2
upstream-4a4d957d1a66ae5004b8ff01206a76ffa0cef9b5.zip
lantiq: sync image filename with boardname
Use <manufacturer>_<modelname> as image name. Use the BOARD_NAME variable to ensure that the former used boardname is still used as the subdirectory name for the sysupgrade-tar image, to not break sysupgrade from earlier versions. While at it, normalise the image filenames by using only lower case characters and bin as file extension for sysupgrade images. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/image/tp-link.mk')
-rw-r--r--target/linux/lantiq/image/tp-link.mk22
1 files changed, 12 insertions, 10 deletions
diff --git a/target/linux/lantiq/image/tp-link.mk b/target/linux/lantiq/image/tp-link.mk
index c5e1c72efc..561d390d8c 100644
--- a/target/linux/lantiq/image/tp-link.mk
+++ b/target/linux/lantiq/image/tp-link.mk
@@ -11,32 +11,35 @@ define Device/lantiqTpLink
append-metadata | check-size $$$$(IMAGE_SIZE)
endef
-define Device/TDW8970
+define Device/tplink_tdw8970
$(Device/lantiqTpLink)
+ DEVICE_DTS := TDW8970
TPLINK_FLASHLAYOUT := 8Mltq
TPLINK_HWID := 0x89700001
TPLINK_HWREV := 1
IMAGE_SIZE := 7680k
DEVICE_TITLE := TP-LINK TD-W8970
DEVICE_PACKAGES:= kmod-ath9k wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport
- SUPPORTED_DEVICES += tplink,tdw8970
+ SUPPORTED_DEVICES += TDW8970
endef
-TARGET_DEVICES += TDW8970
+TARGET_DEVICES += tplink_tdw8970
-define Device/TDW8980
+define Device/tplink_tdw8980
$(Device/lantiqTpLink)
+ DEVICE_DTS := TDW8980
TPLINK_FLASHLAYOUT := 8Mltq
TPLINK_HWID := 0x89800001
TPLINK_HWREV := 14
IMAGE_SIZE := 7680k
DEVICE_TITLE := TP-LINK TD-W8980
DEVICE_PACKAGES:= kmod-ath9k kmod-owl-loader wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport
- SUPPORTED_DEVICES += tplink,tdw8980
+ SUPPORTED_DEVICES += TDW8980
endef
-TARGET_DEVICES += TDW8980
+TARGET_DEVICES += tplink_tdw8980
-define Device/VR200v
+define Device/tplink_vr200v
$(Device/lantiqTpLink)
+ DEVICE_DTS := VR200v
TPLINK_BOARD_ID := ArcherVR200V
TPLINK_FLASHLAYOUT := 16Mltq
TPLINK_HWID := 0x73b70801
@@ -44,7 +47,6 @@ define Device/VR200v
IMAGE_SIZE := 15808k
DEVICE_TITLE := TP-LINK Archer VR200v
DEVICE_PACKAGES:= kmod-usb-dwc2 kmod-usb-ledtrig-usbport
- SUPPORTED_DEVICES += tplink,vr200v
+ SUPPORTED_DEVICES += VR200v
endef
-TARGET_DEVICES += VR200v
-
+TARGET_DEVICES += tplink_vr200v