diff options
author | John Crispin <john@phrozen.org> | 2016-06-13 19:04:20 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-06-13 22:51:43 +0200 |
commit | 239ad94165adc3ffb5290dd871d2ff0ddff4bdcf (patch) | |
tree | 03fcdeb281332b91774a3f261e58a2e822016116 /target/linux/lantiq/image/Makefile | |
parent | 2ae06f30134f856b7f27132dffe725817f4fb801 (diff) | |
download | upstream-239ad94165adc3ffb5290dd871d2ff0ddff4bdcf.tar.gz upstream-239ad94165adc3ffb5290dd871d2ff0ddff4bdcf.tar.bz2 upstream-239ad94165adc3ffb5290dd871d2ff0ddff4bdcf.zip |
lantiq: add xway_legacy target
due to bloat recent builds fail to fit into the flash of the old danube units
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/lantiq/image/Makefile')
-rw-r--r-- | target/linux/lantiq/image/Makefile | 126 |
1 files changed, 65 insertions, 61 deletions
diff --git a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image/Makefile index 49f3fbda06..e822af20cc 100644 --- a/target/linux/lantiq/image/Makefile +++ b/target/linux/lantiq/image/Makefile @@ -281,46 +281,20 @@ define Device/lantiqBrnImage endef DEVICE_VARS += SIGNATURE MAGIC CRC32_POLY -ifeq ($(SUBTARGET),xway) - -# Danube -BTHOMEHUBV2B_UBIFS_OPTS:="-m 512 -e 15872 -c 1959" -BTHOMEHUBV2B_UBI_OPTS:="-m 512 -p 16KiB -s 256" - -Image/BuildKernel/Profile/BTHOMEHUBV2B=$(call Image/BuildKernel/Template,BTHOMEHUBV2B) -Image/Build/Profile/BTHOMEHUBV2B=$(call Image/BuildNAND/$(1),$(1),BTHOMEHUBV2B) - -define Device/EASY50712 - DEVICE_PROFILE := EASY50712 - IMAGE_SIZE := 3776k - DEVICE_TITLE := Lantiq Danube - EASY50712 -endef -TARGET_DEVICES += EASY50712 - -define Device/ACMP252 - DEVICE_PROFILE := ACMP252 - IMAGE_SIZE := 14848k - DEVICE_TITLE := AudioCodes MediaPack MP-252 - DEVICE_PACKAGES := kmod-rt2x00-pci wpad-mini \ - kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ - kmod-ltq-adsl-danube-fw-a kmod-ltq-ptm-danube \ - ltq-adsl-app -endef -TARGET_DEVICES += ACMP252 +ifeq ($(SUBTARGET),xway_legacy) -define Device/ARV4510PW - DEVICE_PROFILE := ARV4510PW - IMAGE_SIZE := 15616k - DEVICE_TITLE := Wippies, Elisa - ARV4510PW - DEVICE_PACKAGES := kmod-ledtrig-usbdev kmod-usb2-pci kmod-usb-uhci \ +define Device/ARV4520PW + DEVICE_PROFILE := ARV4520PW + IMAGE_SIZE := 3648k + DEVICE_TITLE := Easybox 800, WAV-281 - ARV4520PW + DEVICE_PACKAGES := kmod-ltq-hcd-danube \ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ - kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \ + kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \ ltq-adsl-app ppp-mod-pppoa \ - kmod-ltq-tapi kmod-ltq-vmmc \ - kmod-rt2800-pci kmod-ath5k wpad-mini \ + kmod-rt61-pci wpad-mini \ swconfig endef -TARGET_DEVICES += ARV4510PW +TARGET_DEVICES += ARV4520PW define Device/ARV4525PW DEVICE_PROFILE := ARV4525PW @@ -333,16 +307,18 @@ define Device/ARV4525PW endef TARGET_DEVICES += ARV4525PW -define Device/ARV7525PW - DEVICE_PROFILE := ARV7525PW +define Device/ARV452CQW + DEVICE_PROFILE := ARV452CQW IMAGE_SIZE := 3776k - DEVICE_TITLE := Speedport W303V Typ A - ARV7525PW - DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini \ + DEVICE_TITLE := Easybox 801 - ARV452CQW + DEVICE_PACKAGES := kmod-ltq-hcd-danube \ + kmod-ath5k wpad-mini \ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \ - ltq-adsl-app ppp-mod-pppoa + ltq-adsl-app ppp-mod-pppoa \ + swconfig endef -TARGET_DEVICES += ARV7525PW +TARGET_DEVICES += ARV452CQW define Device/ARV4518PWR01 DEVICE_PROFILE := ARV4518PWR01 @@ -370,43 +346,71 @@ define Device/ARV4518PWR01A endef TARGET_DEVICES += ARV4518PWR01A -define Device/ARV4519PW - DEVICE_PROFILE := ARV4519PW +endif + +ifeq ($(SUBTARGET),xway) + +# Danube +BTHOMEHUBV2B_UBIFS_OPTS:="-m 512 -e 15872 -c 1959" +BTHOMEHUBV2B_UBI_OPTS:="-m 512 -p 16KiB -s 256" + +Image/BuildKernel/Profile/BTHOMEHUBV2B=$(call Image/BuildKernel/Template,BTHOMEHUBV2B) +Image/Build/Profile/BTHOMEHUBV2B=$(call Image/BuildNAND/$(1),$(1),BTHOMEHUBV2B) + +define Device/EASY50712 + DEVICE_PROFILE := EASY50712 IMAGE_SIZE := 3776k - DEVICE_TITLE := Vodafone, Pirelli - ARV4519PW - DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \ + DEVICE_TITLE := Lantiq Danube - EASY50712 +endef +TARGET_DEVICES += EASY50712 + +define Device/ACMP252 + DEVICE_PROFILE := ACMP252 + IMAGE_SIZE := 14848k + DEVICE_TITLE := AudioCodes MediaPack MP-252 + DEVICE_PACKAGES := kmod-rt2x00-pci wpad-mini \ + kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ + kmod-ltq-adsl-danube-fw-a kmod-ltq-ptm-danube \ + ltq-adsl-app +endef +TARGET_DEVICES += ACMP252 + +define Device/ARV4510PW + DEVICE_PROFILE := ARV4510PW + IMAGE_SIZE := 15616k + DEVICE_TITLE := Wippies, Elisa - ARV4510PW + DEVICE_PACKAGES := kmod-ledtrig-usbdev kmod-usb2-pci kmod-usb-uhci \ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \ ltq-adsl-app ppp-mod-pppoa \ + kmod-ltq-tapi kmod-ltq-vmmc \ + kmod-rt2800-pci kmod-ath5k wpad-mini \ swconfig endef -TARGET_DEVICES += ARV4519PW +TARGET_DEVICES += ARV4510PW -define Device/ARV4520PW - DEVICE_PROFILE := ARV4520PW - IMAGE_SIZE := 3648k - DEVICE_TITLE := Easybox 800, WAV-281 - ARV4520PW - DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \ +define Device/ARV7525PW + DEVICE_PROFILE := ARV7525PW + IMAGE_SIZE := 3776k + DEVICE_TITLE := Speedport W303V Typ A - ARV7525PW + DEVICE_PACKAGES := kmod-rt2800-pci wpad-mini \ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \ - ltq-adsl-app ppp-mod-pppoa \ - kmod-rt61-pci wpad-mini \ - swconfig + ltq-adsl-app ppp-mod-pppoa endef -TARGET_DEVICES += ARV4520PW +TARGET_DEVICES += ARV7525PW -define Device/ARV452CQW - DEVICE_PROFILE := ARV452CQW +define Device/ARV4519PW + DEVICE_PROFILE := ARV4519PW IMAGE_SIZE := 3776k - DEVICE_TITLE := Easybox 801 - ARV452CQW + DEVICE_TITLE := Vodafone, Pirelli - ARV4519PW DEVICE_PACKAGES := kmod-ltq-hcd-danube kmod-ledtrig-usbdev \ - kmod-ath5k wpad-mini \ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \ - kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \ + kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \ ltq-adsl-app ppp-mod-pppoa \ swconfig endef -TARGET_DEVICES += ARV452CQW +TARGET_DEVICES += ARV4519PW define Device/ARV7510PW22 DEVICE_PROFILE := ARV7510PW22 |