diff options
author | Jo-Philipp Wich <jo@mein.io> | 2016-06-24 11:55:32 +0200 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2016-06-24 11:55:32 +0200 |
commit | 51a5c322954a7338df995b32c03d085c25a5de56 (patch) | |
tree | 7780b09e1c89bc22a6b2b956085f676918e4f581 /target/linux | |
parent | 2bf6b1e78aefa796e73928d5072c356f1b74c290 (diff) | |
download | master-187ad058-51a5c322954a7338df995b32c03d085c25a5de56.tar.gz master-187ad058-51a5c322954a7338df995b32c03d085c25a5de56.tar.bz2 master-187ad058-51a5c322954a7338df995b32c03d085c25a5de56.zip |
target: globally remove ARCH_PACKAGES overrides
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/adm5120/rb1xx/target.mk | 1 | ||||
-rw-r--r-- | target/linux/adm5120/router_be/target.mk | 1 | ||||
-rw-r--r-- | target/linux/adm5120/router_le/target.mk | 1 | ||||
-rw-r--r-- | target/linux/malta/be/target.mk | 1 | ||||
-rw-r--r-- | target/linux/malta/be64/target.mk | 1 | ||||
-rw-r--r-- | target/linux/malta/le/target.mk | 1 | ||||
-rw-r--r-- | target/linux/malta/le64/target.mk | 1 | ||||
-rw-r--r-- | target/linux/ramips/image/rt288x.mk | 102 | ||||
-rw-r--r-- | target/linux/ramips/mt7620/target.mk | 1 | ||||
-rw-r--r-- | target/linux/ramips/mt7621/target.mk | 1 | ||||
-rw-r--r-- | target/linux/ramips/mt7628/target.mk | 1 | ||||
-rw-r--r-- | target/linux/ramips/mt7688/target.mk | 1 | ||||
-rw-r--r-- | target/linux/ramips/rt288x/profiles/00-default.mk | 16 | ||||
-rw-r--r-- | target/linux/ramips/rt288x/profiles/asus.mk | 16 | ||||
-rw-r--r-- | target/linux/ramips/rt288x/profiles/belkin.mk | 16 | ||||
-rw-r--r-- | target/linux/ramips/rt305x/target.mk | 1 | ||||
-rw-r--r-- | target/linux/ramips/rt3883/target.mk | 1 |
17 files changed, 57 insertions, 106 deletions
diff --git a/target/linux/adm5120/rb1xx/target.mk b/target/linux/adm5120/rb1xx/target.mk index 34d10a9649..8774794af6 100644 --- a/target/linux/adm5120/rb1xx/target.mk +++ b/target/linux/adm5120/rb1xx/target.mk @@ -1,5 +1,4 @@ ARCH:=mipsel -ARCH_PACKAGES:=adm5120_mipsel SUBTARGET:=rb1xx BOARDNAME:=MikroTik RB-1xx boards FEATURES+=tgz diff --git a/target/linux/adm5120/router_be/target.mk b/target/linux/adm5120/router_be/target.mk index 9cbf00b3eb..f9119c51c1 100644 --- a/target/linux/adm5120/router_be/target.mk +++ b/target/linux/adm5120/router_be/target.mk @@ -1,5 +1,4 @@ ARCH:=mips -ARCH_PACKAGES:=adm5120_mips SUBTARGET:=router_be BOARDNAME:=Big Endian FEATURES+=squashfs diff --git a/target/linux/adm5120/router_le/target.mk b/target/linux/adm5120/router_le/target.mk index 6847d00e14..ea2a66c5f4 100644 --- a/target/linux/adm5120/router_le/target.mk +++ b/target/linux/adm5120/router_le/target.mk @@ -1,5 +1,4 @@ ARCH:=mipsel -ARCH_PACKAGES:=adm5120_mipsel SUBTARGET:=router_le BOARDNAME:=Little Endian FEATURES+=squashfs tgz diff --git a/target/linux/malta/be/target.mk b/target/linux/malta/be/target.mk index 92ae58eb9d..ddb65f040d 100644 --- a/target/linux/malta/be/target.mk +++ b/target/linux/malta/be/target.mk @@ -1,5 +1,4 @@ ARCH:=mips -ARCH_PACKAGES:=malta_mips SUBTARGET:=be BOARDNAME:=Big Endian FEATURES:=ramdisk mips16 diff --git a/target/linux/malta/be64/target.mk b/target/linux/malta/be64/target.mk index dad3a1c6c5..96c0b50916 100644 --- a/target/linux/malta/be64/target.mk +++ b/target/linux/malta/be64/target.mk @@ -1,5 +1,4 @@ ARCH:=mips64 -ARCH_PACKAGES:=malta_mips64 SUBTARGET:=be64 BOARDNAME:=Big Endian (64-bits) FEATURES:=ramdisk diff --git a/target/linux/malta/le/target.mk b/target/linux/malta/le/target.mk index 35fcf4cfe1..12c860a50e 100644 --- a/target/linux/malta/le/target.mk +++ b/target/linux/malta/le/target.mk @@ -1,5 +1,4 @@ ARCH:=mipsel -ARCH_PACKAGES:=malta_mipsel SUBTARGET:=le BOARDNAME:=Little Endian FEATURES:=ramdisk mips16 diff --git a/target/linux/malta/le64/target.mk b/target/linux/malta/le64/target.mk index 26b53c12bd..badea1945d 100644 --- a/target/linux/malta/le64/target.mk +++ b/target/linux/malta/le64/target.mk @@ -1,5 +1,4 @@ ARCH:=mips64el -ARCH_PACKAGES:=malta_mipsel64 SUBTARGET:=le64 BOARDNAME:=Little Endian (64-bits) FEATURES:=ramdisk diff --git a/target/linux/ramips/image/rt288x.mk b/target/linux/ramips/image/rt288x.mk index 475e634a63..3d5a7e32c5 100644 --- a/target/linux/ramips/image/rt288x.mk +++ b/target/linux/ramips/image/rt288x.mk @@ -2,58 +2,70 @@ # RT288X Profiles # -# Airlink101 AR670W -- LZMA without uImage header -define BuildFirmware/AR670W/squashfs - $(call PatchKernelLzmaDtb,$(2),$(3),$(5)) +define Build/gemtek-header + mkheader_gemtek $@ $@.new $(1) && mv $@.new $@ +endef - $(eval output_name=$(IMG_PREFIX)-$(2)-$(1)-$(if $(4),$(4),sysupgrade).bin) - $(eval factory_name=$(IMG_PREFIX)-$(2)-$(1)-factory.bin) +define Build/airlink-header + mkwrgimg -i $@ \ + -d "/dev/mtdblock/2" \ + -s "wrgn16a_airlink_ar670w" \ + -o $@.new && mv $@.new $@ +endef - ( dd if=$(KDIR)/vmlinux-$(2).bin.lzma bs=65536 \ - conv=sync; dd if=$(KDIR)/root.$(1) ) > $(KDIR)/$(output_name) +define Device/ar670w + DTS := AR670W + DEVICE_TITLE := Airlink AR670W + IMAGE_SIZE := $(ralink_default_fw_size_4M) + KERNEL := $(KERNEL_DTB) + IMAGES += factory.bin + IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | gemtek-header ar725w +endef +TARGET_DEVICES += ar725w - $(call prepare_generic_squashfs,$(KDIR)/$(output_name)) +define Device/ar725w + DTS := AR725W + DEVICE_TITLE := Gemtek AR725W + IMAGES += factory.bin + IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | gemtek-header ar725w +endef +TARGET_DEVICES += ar725w - if [ `stat -c%s "$(KDIR)/$(output_name)"` \ - -gt $(ralink_default_fw_size_4M) ]; then \ - echo "Warning: $(KDIR)/$(output_name) is too big" >&2; \ - else \ - mkwrgimg -i $(KDIR)/$(output_name) \ - -d "/dev/mtdblock/2" \ - -s "wrgn16a_airlink_ar670w" \ - -o $(BIN_DIR)/$(factory_name); \ - $(CP) $(KDIR)/$(output_name) $(BIN_DIR)/$(output_name); \ - fi +belkin_f5d8235v1_mtd_size=7929856 +define Device/f5d8235v1 + DTS := F5D8235_V1 + IMAGE_SIZE := $(belkin_f5d8235v1_mtd_size) + DEVICE_TITLE := Belkin F5D8235 V1 + DEVICE_PACKAGES := kmod-switch-rtl8366s endef +TARGET_DEVICES += f5d8235v1 -define BuildFirmware/Gemtek/squashfs - $(call BuildFirmware/Default4M/$(1),$(1),$(2),$(3)) - if [ -e "$(call sysupname,$(1),$(2))" ]; then \ - mkheader_gemtek "$(call sysupname,$(1),$(2))" \ - "$(call imgname,$(1),$(2))-factory.bin" $(2) || \ - rm -f "$(call imgname,$(1),$(2))-factory.bin"; \ - fi +define Device/rt-n15 + DTS := RT-N15 + IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_TITLE := Asus RT-N15 + DEVICE_PACKAGES := kmod-switch-rtl8366s endef -BuildFirmware/Gemtek/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(3)) +TARGET_DEVICES += rt-n15 +define Device/v11st-fe + DTS := V11STFE + IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_TITLE := Ralink V11ST-FE +endef +TARGET_DEVICES += v11st-fe -Image/Build/Profile/AR670W=$(call BuildFirmware/AR670W/$(1),$(1),ar670w,AR670W) -Image/Build/Profile/AR725W=$(call BuildFirmware/Gemtek/$(1),$(1),ar725w,AR725W) -# 0x790000 -belkin_f5d8235v1_mtd_size=7929856 -Image/Build/Profile/F5D8235V1=$(call BuildFirmware/CustomFlash/$(1),$(1),f5d8235v1,F5D8235_V1,$(belkin_f5d8235v1_mtd_size)) -Image/Build/Profile/RTN15=$(call BuildFirmware/Default4M/$(1),$(1),rt-n15,RT-N15) -Image/Build/Profile/V11STFE=$(call BuildFirmware/Default4M/$(1),$(1),v11st-fe,V11STFE) -Image/Build/Profile/WLITX4AG300N=$(call BuildFirmware/Default4M/$(1),$(1),wli-tx4-ag300n,WLI-TX4-AG300N) -Image/Build/Profile/WZRAGL300NH=$(call BuildFirmware/Default4M/$(1),$(1),wzr-agl300nh,WZR-AGL300NH) - - -define Image/Build/Profile/Default - $(call Image/Build/Profile/AR670W,$(1)) - $(call Image/Build/Profile/AR725W,$(1)) - $(call Image/Build/Profile/F5D8235V1,$(1)) - $(call Image/Build/Profile/RTN15,$(1)) - $(call Image/Build/Profile/V11STFE,$(1)) - $(call Image/Build/Profile/WLITX4AG300N,$(1)) - $(call Image/Build/Profile/WZRAGL300NH,$(1)) +define Device/wli-tx4-ag300n + DTS := WLI-TX4-AG300N + IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_TITLE := Buffalo WLI-TX4-AG300N +endef +TARGET_DEVICES += wli-tx4-ag300n + +define Device/wzr-agl300nh + DTS := WZR-AGL300NH + IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_TITLE := Buffalo WZR-AGL300NH + DEVICE_PACKAGES := kmod-switch-rtl8366s endef +TARGET_DEVICES += wzr-agl300nh diff --git a/target/linux/ramips/mt7620/target.mk b/target/linux/ramips/mt7620/target.mk index 99763b046a..08c775c97b 100644 --- a/target/linux/ramips/mt7620/target.mk +++ b/target/linux/ramips/mt7620/target.mk @@ -4,7 +4,6 @@ SUBTARGET:=mt7620 BOARDNAME:=MT7620 based boards -ARCH_PACKAGES:=ramips_24kec FEATURES+=usb CPU_TYPE:=24kec CPU_SUBTYPE:=dsp diff --git a/target/linux/ramips/mt7621/target.mk b/target/linux/ramips/mt7621/target.mk index a0a7afc969..e38fad4b25 100644 --- a/target/linux/ramips/mt7621/target.mk +++ b/target/linux/ramips/mt7621/target.mk @@ -4,7 +4,6 @@ SUBTARGET:=mt7621 BOARDNAME:=MT7621 based boards -ARCH_PACKAGES:=ramips_1004kc FEATURES+=usb CPU_TYPE:=1004kc CPU_SUBTYPE:=dsp diff --git a/target/linux/ramips/mt7628/target.mk b/target/linux/ramips/mt7628/target.mk index 8263a1bed8..61d7f0707c 100644 --- a/target/linux/ramips/mt7628/target.mk +++ b/target/linux/ramips/mt7628/target.mk @@ -4,7 +4,6 @@ SUBTARGET:=mt7628 BOARDNAME:=MT7628 based boards -ARCH_PACKAGES:=ramips_24kec FEATURES+=usb CPU_TYPE:=24kec CPU_SUBTYPE:=dsp diff --git a/target/linux/ramips/mt7688/target.mk b/target/linux/ramips/mt7688/target.mk index 2713d5260c..a501a64136 100644 --- a/target/linux/ramips/mt7688/target.mk +++ b/target/linux/ramips/mt7688/target.mk @@ -4,7 +4,6 @@ SUBTARGET:=mt7688 BOARDNAME:=MT7688 based boards -ARCH_PACKAGES:=ramips_24kec FEATURES+=usb CPU_TYPE:=24kec CPU_SUBTYPE:=dsp diff --git a/target/linux/ramips/rt288x/profiles/00-default.mk b/target/linux/ramips/rt288x/profiles/00-default.mk deleted file mode 100644 index 583610a65a..0000000000 --- a/target/linux/ramips/rt288x/profiles/00-default.mk +++ /dev/null @@ -1,16 +0,0 @@ -# -# Copyright (C) 2010 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/Default - NAME:=Default Profile - PACKAGES:=kmod-switch-rtl8366s kmod-swconfig swconfig -endef - -define Profile/Default/Description - Default package set compatible with most boards. -endef -$(eval $(call Profile,Default)) diff --git a/target/linux/ramips/rt288x/profiles/asus.mk b/target/linux/ramips/rt288x/profiles/asus.mk deleted file mode 100644 index aa6fb4d6be..0000000000 --- a/target/linux/ramips/rt288x/profiles/asus.mk +++ /dev/null @@ -1,16 +0,0 @@ -# -# Copyright (C) 2011 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/RTN15 - NAME:=Asus RT-N15 - PACKAGES:=kmod-switch-rtl8366s kmod-swconfig swconfig -endef - -define Profile/RTN15/Description - Package set for Asus RT-N15 board -endef -$(eval $(call Profile,RTN15)) diff --git a/target/linux/ramips/rt288x/profiles/belkin.mk b/target/linux/ramips/rt288x/profiles/belkin.mk deleted file mode 100644 index 4a0c62dd5e..0000000000 --- a/target/linux/ramips/rt288x/profiles/belkin.mk +++ /dev/null @@ -1,16 +0,0 @@ -# -# Copyright (C) 2011 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/F5D8235V1 - NAME:=Belkin F5D8235 V1 - PACKAGES:=kmod-switch-rtl8366s kmod-swconfig swconfig -endef - -define Profile/F5D8235V1/Description - Package set for Belkin F5D8235 V1 -endef -$(eval $(call Profile,F5D8235V1)) diff --git a/target/linux/ramips/rt305x/target.mk b/target/linux/ramips/rt305x/target.mk index b97554fc7c..633925999e 100644 --- a/target/linux/ramips/rt305x/target.mk +++ b/target/linux/ramips/rt305x/target.mk @@ -4,7 +4,6 @@ SUBTARGET:=rt305x BOARDNAME:=RT3x5x/RT5350 based boards -ARCH_PACKAGES:=ramips_24kec FEATURES+=usb ramdisk CPU_TYPE:=24kec CPU_SUBTYPE:=dsp diff --git a/target/linux/ramips/rt3883/target.mk b/target/linux/ramips/rt3883/target.mk index 96c9e93a71..7a2cec99a1 100644 --- a/target/linux/ramips/rt3883/target.mk +++ b/target/linux/ramips/rt3883/target.mk @@ -4,7 +4,6 @@ SUBTARGET:=rt3883 BOARDNAME:=RT3662/RT3883 based boards -ARCH_PACKAGES:=ramips_24kec FEATURES+=usb pci CPU_TYPE:=74kc CPU_SUBTYPE:=dsp2 |