summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/image
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-19 15:26:59 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-20 10:13:50 +0200
commitbdfed2a2c33cc05a096b4f29e72a2a05f57918af (patch)
tree8dc98ff5ef1636bb04c6be4117b72faa2ccfa986 /target/linux/lantiq/image
parent22c02060440d8930eb2f8f7fd510daa433694bd0 (diff)
downloadmtk-20170518-bdfed2a2c33cc05a096b4f29e72a2a05f57918af.zip
mtk-20170518-bdfed2a2c33cc05a096b4f29e72a2a05f57918af.tar.gz
mtk-20170518-bdfed2a2c33cc05a096b4f29e72a2a05f57918af.tar.bz2
lantiq: convert simple xrx200 devices to new image build code
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/lantiq/image')
-rw-r--r--target/linux/lantiq/image/Makefile23
1 files changed, 8 insertions, 15 deletions
diff --git a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image/Makefile
index da1ace9..b5671d4 100644
--- a/target/linux/lantiq/image/Makefile
+++ b/target/linux/lantiq/image/Makefile
@@ -584,23 +584,19 @@ ifeq ($(SUBTARGET),xrx200)
# VR9
-Image/BuildKernel/Profile/P2812HNUF1=$(call Image/BuildKernel/Template,P2812HNUF1)
-Image/Build/Profile/P2812HNUF1=$(call Image/BuildNAND/$(1),$(1),P2812HNUF1)
-
-define LegacyDevice/P2812HNUF1
+define Device/P2812HNUF1
+ $(Device/NAND)
DEVICE_TITLE := ZyXEL P-2812HNU-F1
DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2
endef
-LEGACY_DEVICES += P2812HNUF1
-
-Image/BuildKernel/Profile/P2812HNUF3=$(call Image/BuildKernel/Template,P2812HNUF3)
-Image/Build/Profile/P2812HNUF3=$(call Image/BuildNAND/$(1),$(1),P2812HNUF3)
+TARGET_DEVICES += P2812HNUF1
define LegacyDevice/P2812HNUF3
+ $(Device/NAND)
DEVICE_TITLE := ZyXEL P-2812HNU-F3
DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2
endef
-LEGACY_DEVICES += P2812HNUF3
+TARGET_DEVICES += P2812HNUF3
define Device/ARV7519RW22
IMAGE_SIZE := 31232k
@@ -609,15 +605,12 @@ define Device/ARV7519RW22
endef
TARGET_DEVICES += ARV7519RW22
-
-Image/BuildKernel/Profile/BTHOMEHUBV5A=$(call Image/BuildKernel/Template,BTHOMEHUBV5A)
-Image/Build/Profile/BTHOMEHUBV5A=$(call Image/BuildNAND/$(1),$(1),BTHOMEHUBV5A)
-
-define LegacyDevice/BTHOMEHUBV5A
+define Device/BTHOMEHUBV5A
+ $(Device/NAND)
DEVICE_TITLE := BT Home Hub 5A
DEVICE_PACKAGES := kmod-ath9k kmod-ath10k wpad-mini kmod-usb-dwc2
endef
-LEGACY_DEVICES += BTHOMEHUBV5A
+TARGET_DEVICES += BTHOMEHUBV5A
define Device/EASY80920NAND
$(Device/lantiqFullImage)