lantiq: convert simple xrx200 devices to new image build code

Signed-off-by: Felix Fietkau <nbd@nbd.name>
lede-17.01
Felix Fietkau 2016-07-19 15:26:59 +02:00
parent 22c0206044
commit bdfed2a2c3
1 changed files with 8 additions and 15 deletions

View File

@ -584,23 +584,19 @@ ifeq ($(SUBTARGET),xrx200)
# VR9 # VR9
Image/BuildKernel/Profile/P2812HNUF1=$(call Image/BuildKernel/Template,P2812HNUF1) define Device/P2812HNUF1
Image/Build/Profile/P2812HNUF1=$(call Image/BuildNAND/$(1),$(1),P2812HNUF1) $(Device/NAND)
define LegacyDevice/P2812HNUF1
DEVICE_TITLE := ZyXEL P-2812HNU-F1 DEVICE_TITLE := ZyXEL P-2812HNU-F1
DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2
endef endef
LEGACY_DEVICES += P2812HNUF1 TARGET_DEVICES += P2812HNUF1
Image/BuildKernel/Profile/P2812HNUF3=$(call Image/BuildKernel/Template,P2812HNUF3)
Image/Build/Profile/P2812HNUF3=$(call Image/BuildNAND/$(1),$(1),P2812HNUF3)
define LegacyDevice/P2812HNUF3 define LegacyDevice/P2812HNUF3
$(Device/NAND)
DEVICE_TITLE := ZyXEL P-2812HNU-F3 DEVICE_TITLE := ZyXEL P-2812HNU-F3
DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2 DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini kmod-usb-dwc2
endef endef
LEGACY_DEVICES += P2812HNUF3 TARGET_DEVICES += P2812HNUF3
define Device/ARV7519RW22 define Device/ARV7519RW22
IMAGE_SIZE := 31232k IMAGE_SIZE := 31232k
@ -609,15 +605,12 @@ define Device/ARV7519RW22
endef endef
TARGET_DEVICES += ARV7519RW22 TARGET_DEVICES += ARV7519RW22
define Device/BTHOMEHUBV5A
Image/BuildKernel/Profile/BTHOMEHUBV5A=$(call Image/BuildKernel/Template,BTHOMEHUBV5A) $(Device/NAND)
Image/Build/Profile/BTHOMEHUBV5A=$(call Image/BuildNAND/$(1),$(1),BTHOMEHUBV5A)
define LegacyDevice/BTHOMEHUBV5A
DEVICE_TITLE := BT Home Hub 5A DEVICE_TITLE := BT Home Hub 5A
DEVICE_PACKAGES := kmod-ath9k kmod-ath10k wpad-mini kmod-usb-dwc2 DEVICE_PACKAGES := kmod-ath9k kmod-ath10k wpad-mini kmod-usb-dwc2
endef endef
LEGACY_DEVICES += BTHOMEHUBV5A TARGET_DEVICES += BTHOMEHUBV5A
define Device/EASY80920NAND define Device/EASY80920NAND
$(Device/lantiqFullImage) $(Device/lantiqFullImage)