From ba42c1db418e37a8061c22556b89522e02533b5c Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 1 Jun 2016 22:43:58 +0200 Subject: lantiq: un-macro the image building code Signed-off-by: John Crispin --- target/linux/lantiq/xrx200/profiles/00-default.mk | 9 ++++++ target/linux/lantiq/xrx200/profiles/arv.mk | 35 ----------------------- target/linux/lantiq/xrx200/profiles/lantiq.mk | 13 --------- target/linux/lantiq/xrx200/profiles/tplink.mk | 20 ------------- target/linux/lantiq/xrx200/target.mk | 2 ++ 5 files changed, 11 insertions(+), 68 deletions(-) create mode 100644 target/linux/lantiq/xrx200/profiles/00-default.mk delete mode 100644 target/linux/lantiq/xrx200/profiles/lantiq.mk delete mode 100644 target/linux/lantiq/xrx200/profiles/tplink.mk (limited to 'target/linux/lantiq/xrx200') diff --git a/target/linux/lantiq/xrx200/profiles/00-default.mk b/target/linux/lantiq/xrx200/profiles/00-default.mk new file mode 100644 index 0000000000..26bc8b502b --- /dev/null +++ b/target/linux/lantiq/xrx200/profiles/00-default.mk @@ -0,0 +1,9 @@ +define Profile/Default + NAME:=Default Profile + PRIORITY:=1 +endef + +define Profile/Default/Description + Default package set compatible with most boards. +endef +$(eval $(call Profile,Default)) diff --git a/target/linux/lantiq/xrx200/profiles/arv.mk b/target/linux/lantiq/xrx200/profiles/arv.mk index dda57309d9..3f233aaa3f 100644 --- a/target/linux/lantiq/xrx200/profiles/arv.mk +++ b/target/linux/lantiq/xrx200/profiles/arv.mk @@ -3,38 +3,3 @@ define Profile/VG3503J endef $(eval $(call Profile,VG3503J)) - -define Profile/VGV7510KW22NOR - NAME:=o2 Box 6431 / Arcadyan VGV7510KW22 (NOR) - PACKAGES:=kmod-rt2800-pci wpad-mini kmod-usb-dwc2 -endef - -$(eval $(call Profile,VGV7510KW22NOR)) - -define Profile/VGV7510KW22BRN - NAME:=o2 Box 6431 / Arcadyan VGV7510KW22 (BRN) - PACKAGES:=kmod-rt2800-pci wpad-mini kmod-usb-dwc2 -endef - -$(eval $(call Profile,VGV7510KW22BRN)) - -define Profile/VGV7519NOR - NAME:=Experiabox 8 VGV7519 - PACKAGES:=kmod-rt2800-pci wpad-mini kmod-usb-dwc2 -endef - -$(eval $(call Profile,VGV7519NOR)) - -define Profile/VGV7519BRN - NAME:=Experiabox 8 VGV7519 (BRN) - PACKAGES:=kmod-rt2800-pci wpad-mini kmod-usb-dwc2 -endef - -$(eval $(call Profile,VGV7519BRN)) - -define Profile/ARV7519RW22 - NAME:=Livebox Astoria ARV7519RW22 - PACKAGES:=kmod-usb-dwc2 -endef - -$(eval $(call Profile,ARV7519RW22)) diff --git a/target/linux/lantiq/xrx200/profiles/lantiq.mk b/target/linux/lantiq/xrx200/profiles/lantiq.mk deleted file mode 100644 index 39c3bc6051..0000000000 --- a/target/linux/lantiq/xrx200/profiles/lantiq.mk +++ /dev/null @@ -1,13 +0,0 @@ -define Profile/EASY80920NOR - NAME:=Lantiq VR9 - EASY80920NOR - PACKAGES:=kmod-ath9k wpad-mini kmod-usb-dwc2 dsl-vrx200-firmware-xdsl-a dsl-vrx200-firmware-xdsl-b-patch -endef - -$(eval $(call Profile,EASY80920NOR)) - -define Profile/EASY80920NAND - NAME:=Lantiq VR9 - EASY80920NAND - PACKAGES:=kmod-ath9k wpad-mini kmod-usb-dwc2 dsl-vrx200-firmware-xdsl-a dsl-vrx200-firmware-xdsl-b-patch -endef - -$(eval $(call Profile,EASY80920NAND)) diff --git a/target/linux/lantiq/xrx200/profiles/tplink.mk b/target/linux/lantiq/xrx200/profiles/tplink.mk deleted file mode 100644 index 2ac364e3fb..0000000000 --- a/target/linux/lantiq/xrx200/profiles/tplink.mk +++ /dev/null @@ -1,20 +0,0 @@ -define Profile/TDW8970 - NAME:=TP-LINK TD-W8970 - PACKAGES:=kmod-ath9k wpad-mini kmod-usb-dwc2 kmod-ledtrig-usbdev dsl-vrx200-firmware-xdsl-a dsl-vrx200-firmware-xdsl-b-patch -endef - -$(eval $(call Profile,TDW8970)) - -define Profile/TDW8980 - NAME:=TP-LINK TD-W8980 - PACKAGES:=kmod-ath9k wpad-mini kmod-usb-dwc2 kmod-ledtrig-usbdev dsl-vrx200-firmware-xdsl-a dsl-vrx200-firmware-xdsl-b-patch -endef - -$(eval $(call Profile,TDW8980)) - -define Profile/VR200v - NAME:=TP-LINK Archer VR200v - PACKAGES:=kmod-usb-dwc2 kmod-ledtrig-usbdev dsl-vrx200-firmware-xdsl-a dsl-vrx200-firmware-xdsl-b-patch -endef - -$(eval $(call Profile,VR200v)) diff --git a/target/linux/lantiq/xrx200/target.mk b/target/linux/lantiq/xrx200/target.mk index 50abb24cb9..e112ea0996 100644 --- a/target/linux/lantiq/xrx200/target.mk +++ b/target/linux/lantiq/xrx200/target.mk @@ -13,6 +13,8 @@ DEFAULT_PACKAGES+=kmod-leds-gpio \ kmod-ltq-ptm-vr9 \ kmod-ltq-deu-vr9 \ ltq-vdsl-app \ + dsl-vrx200-firmware-xdsl-a \ + dsl-vrx200-firmware-xdsl-b-patch \ ppp-mod-pppoa \ swconfig -- cgit v1.2.3