[OpenWrt-Devel] [PATCH 32/33] Rename 'atheros' target to 'ath25'

Sergey Ryazanov ryazanov.s.a at gmail.com
Thu Mar 12 22:19:37 EDT 2015


Rename 'atheros' target to more precise 'ath25'.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a at gmail.com>
---
 package/kernel/mac80211/Makefile                                    | 6 +++---
 package/kernel/wrt55agv2-spidevs/Makefile                           | 2 +-
 target/linux/{atheros => ath25}/Makefile                            | 2 +-
 target/linux/{atheros => ath25}/base-files/etc/config/system        | 0
 .../{atheros => ath25}/base-files/etc/hotplug.d/button/00-button    | 0
 target/linux/{atheros => ath25}/base-files/etc/uci-defaults/01_leds | 0
 .../linux/{atheros => ath25}/base-files/etc/uci-defaults/02_network | 0
 .../base-files/lib/preinit/15_preinit_iface_atheros                 | 0
 target/linux/{atheros => ath25}/base-files/lib/upgrade/platform.sh  | 0
 target/linux/{atheros => ath25}/config-3.18                         | 0
 target/linux/{atheros => ath25}/image/Makefile                      | 0
 target/linux/{atheros => ath25}/patches-3.18/010-board.patch        | 0
 .../{atheros => ath25}/patches-3.18/020-early-printk-support.patch  | 0
 target/linux/{atheros => ath25}/patches-3.18/030-ar2315_pci.patch   | 0
 target/linux/{atheros => ath25}/patches-3.18/107-ar5312_gpio.patch  | 0
 target/linux/{atheros => ath25}/patches-3.18/108-ar2315_gpio.patch  | 0
 .../linux/{atheros => ath25}/patches-3.18/110-ar2313_ethernet.patch | 0
 target/linux/{atheros => ath25}/patches-3.18/120-spiflash.patch     | 0
 target/linux/{atheros => ath25}/patches-3.18/130-watchdog.patch     | 0
 .../{atheros => ath25}/patches-3.18/140-redboot_boardconfig.patch   | 0
 .../patches-3.18/141-redboot_partition_scan.patch                   | 0
 .../patches-3.18/142-redboot_various_erase_size_fix.patch           | 0
 target/linux/{atheros => ath25}/patches-3.18/210-reset_button.patch | 0
 .../patches-3.18/220-enet_micrel_workaround.patch                   | 0
 target/linux/{atheros => ath25}/patches-3.18/330-board_leds.patch   | 0
 25 files changed, 5 insertions(+), 5 deletions(-)
 rename target/linux/{atheros => ath25}/Makefile (97%)
 rename target/linux/{atheros => ath25}/base-files/etc/config/system (100%)
 rename target/linux/{atheros => ath25}/base-files/etc/hotplug.d/button/00-button (100%)
 rename target/linux/{atheros => ath25}/base-files/etc/uci-defaults/01_leds (100%)
 rename target/linux/{atheros => ath25}/base-files/etc/uci-defaults/02_network (100%)
 rename target/linux/{atheros => ath25}/base-files/lib/preinit/15_preinit_iface_atheros (100%)
 rename target/linux/{atheros => ath25}/base-files/lib/upgrade/platform.sh (100%)
 rename target/linux/{atheros => ath25}/config-3.18 (100%)
 rename target/linux/{atheros => ath25}/image/Makefile (100%)
 rename target/linux/{atheros => ath25}/patches-3.18/010-board.patch (100%)
 rename target/linux/{atheros => ath25}/patches-3.18/020-early-printk-support.patch (100%)
 rename target/linux/{atheros => ath25}/patches-3.18/030-ar2315_pci.patch (100%)
 rename target/linux/{atheros => ath25}/patches-3.18/107-ar5312_gpio.patch (100%)
 rename target/linux/{atheros => ath25}/patches-3.18/108-ar2315_gpio.patch (100%)
 rename target/linux/{atheros => ath25}/patches-3.18/110-ar2313_ethernet.patch (100%)
 rename target/linux/{atheros => ath25}/patches-3.18/120-spiflash.patch (100%)
 rename target/linux/{atheros => ath25}/patches-3.18/130-watchdog.patch (100%)
 rename target/linux/{atheros => ath25}/patches-3.18/140-redboot_boardconfig.patch (100%)
 rename target/linux/{atheros => ath25}/patches-3.18/141-redboot_partition_scan.patch (100%)
 rename target/linux/{atheros => ath25}/patches-3.18/142-redboot_various_erase_size_fix.patch (100%)
 rename target/linux/{atheros => ath25}/patches-3.18/210-reset_button.patch (100%)
 rename target/linux/{atheros => ath25}/patches-3.18/220-enet_micrel_workaround.patch (100%)
 rename target/linux/{atheros => ath25}/patches-3.18/330-board_leds.patch (100%)

diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile
index e487fe7..6623c5a 100644
--- a/package/kernel/mac80211/Makefile
+++ b/package/kernel/mac80211/Makefile
@@ -534,7 +534,7 @@ endef
 define KernelPackage/ath
   $(call KernelPackage/mac80211/Default)
   TITLE:=Atheros common driver part
-  DEPENDS+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ar71xx||TARGET_atheros +kmod-mac80211
+  DEPENDS+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ar71xx||TARGET_ath25 +kmod-mac80211
   FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath.ko
   MENU:=1
 endef
@@ -547,7 +547,7 @@ define KernelPackage/ath5k
   $(call KernelPackage/mac80211/Default)
   TITLE:=Atheros 5xxx wireless cards support
   URL:=http://linuxwireless.org/en/users/Drivers/ath5k
-  DEPENDS+= @PCI_SUPPORT||@TARGET_atheros +kmod-ath
+  DEPENDS+= @PCI_SUPPORT||@TARGET_ath25 +kmod-ath
   FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath5k/ath5k.ko
   AUTOLOAD:=$(call AutoProbe,ath5k)
 endef
@@ -1556,7 +1556,7 @@ config-$(call config_package,ath9k-htc) += ATH9K_HTC
 config-$(call config_package,ath10k) += ATH10K ATH10K_PCI
 
 config-$(call config_package,ath5k) += ATH5K
-ifdef CONFIG_TARGET_atheros
+ifdef CONFIG_TARGET_ath25
   config-y += ATH5K_AHB
 else
   config-y += ATH5K_PCI
diff --git a/package/kernel/wrt55agv2-spidevs/Makefile b/package/kernel/wrt55agv2-spidevs/Makefile
index bfd24c2..a63180b 100644
--- a/package/kernel/wrt55agv2-spidevs/Makefile
+++ b/package/kernel/wrt55agv2-spidevs/Makefile
@@ -16,7 +16,7 @@ include $(INCLUDE_DIR)/package.mk
 define KernelPackage/wrt55agv2-spidevs
   SUBMENU:=Other modules
   TITLE:=WRT55AG v2 SPI devices support
-  DEPENDS:=@TARGET_atheros +kmod-spi-gpio-old +kmod-spi-ks8995
+  DEPENDS:=@TARGET_ath25 +kmod-spi-gpio-old +kmod-spi-ks8995
   FILES:=$(PKG_BUILD_DIR)/wrt55agv2_spidevs.ko
 endef
 
diff --git a/target/linux/atheros/Makefile b/target/linux/ath25/Makefile
similarity index 97%
rename from target/linux/atheros/Makefile
rename to target/linux/ath25/Makefile
index 170d4af..b1baa2e 100644
--- a/target/linux/atheros/Makefile
+++ b/target/linux/ath25/Makefile
@@ -7,7 +7,7 @@
 include $(TOPDIR)/rules.mk
 
 ARCH:=mips
-BOARD:=atheros
+BOARD:=ath25
 BOARDNAME:=Atheros AR231x/AR5312
 FEATURES:=squashfs low_mem
 
diff --git a/target/linux/atheros/base-files/etc/config/system b/target/linux/ath25/base-files/etc/config/system
similarity index 100%
rename from target/linux/atheros/base-files/etc/config/system
rename to target/linux/ath25/base-files/etc/config/system
diff --git a/target/linux/atheros/base-files/etc/hotplug.d/button/00-button b/target/linux/ath25/base-files/etc/hotplug.d/button/00-button
similarity index 100%
rename from target/linux/atheros/base-files/etc/hotplug.d/button/00-button
rename to target/linux/ath25/base-files/etc/hotplug.d/button/00-button
diff --git a/target/linux/atheros/base-files/etc/uci-defaults/01_leds b/target/linux/ath25/base-files/etc/uci-defaults/01_leds
similarity index 100%
rename from target/linux/atheros/base-files/etc/uci-defaults/01_leds
rename to target/linux/ath25/base-files/etc/uci-defaults/01_leds
diff --git a/target/linux/atheros/base-files/etc/uci-defaults/02_network b/target/linux/ath25/base-files/etc/uci-defaults/02_network
similarity index 100%
rename from target/linux/atheros/base-files/etc/uci-defaults/02_network
rename to target/linux/ath25/base-files/etc/uci-defaults/02_network
diff --git a/target/linux/atheros/base-files/lib/preinit/15_preinit_iface_atheros b/target/linux/ath25/base-files/lib/preinit/15_preinit_iface_atheros
similarity index 100%
rename from target/linux/atheros/base-files/lib/preinit/15_preinit_iface_atheros
rename to target/linux/ath25/base-files/lib/preinit/15_preinit_iface_atheros
diff --git a/target/linux/atheros/base-files/lib/upgrade/platform.sh b/target/linux/ath25/base-files/lib/upgrade/platform.sh
similarity index 100%
rename from target/linux/atheros/base-files/lib/upgrade/platform.sh
rename to target/linux/ath25/base-files/lib/upgrade/platform.sh
diff --git a/target/linux/atheros/config-3.18 b/target/linux/ath25/config-3.18
similarity index 100%
rename from target/linux/atheros/config-3.18
rename to target/linux/ath25/config-3.18
diff --git a/target/linux/atheros/image/Makefile b/target/linux/ath25/image/Makefile
similarity index 100%
rename from target/linux/atheros/image/Makefile
rename to target/linux/ath25/image/Makefile
diff --git a/target/linux/atheros/patches-3.18/010-board.patch b/target/linux/ath25/patches-3.18/010-board.patch
similarity index 100%
rename from target/linux/atheros/patches-3.18/010-board.patch
rename to target/linux/ath25/patches-3.18/010-board.patch
diff --git a/target/linux/atheros/patches-3.18/020-early-printk-support.patch b/target/linux/ath25/patches-3.18/020-early-printk-support.patch
similarity index 100%
rename from target/linux/atheros/patches-3.18/020-early-printk-support.patch
rename to target/linux/ath25/patches-3.18/020-early-printk-support.patch
diff --git a/target/linux/atheros/patches-3.18/030-ar2315_pci.patch b/target/linux/ath25/patches-3.18/030-ar2315_pci.patch
similarity index 100%
rename from target/linux/atheros/patches-3.18/030-ar2315_pci.patch
rename to target/linux/ath25/patches-3.18/030-ar2315_pci.patch
diff --git a/target/linux/atheros/patches-3.18/107-ar5312_gpio.patch b/target/linux/ath25/patches-3.18/107-ar5312_gpio.patch
similarity index 100%
rename from target/linux/atheros/patches-3.18/107-ar5312_gpio.patch
rename to target/linux/ath25/patches-3.18/107-ar5312_gpio.patch
diff --git a/target/linux/atheros/patches-3.18/108-ar2315_gpio.patch b/target/linux/ath25/patches-3.18/108-ar2315_gpio.patch
similarity index 100%
rename from target/linux/atheros/patches-3.18/108-ar2315_gpio.patch
rename to target/linux/ath25/patches-3.18/108-ar2315_gpio.patch
diff --git a/target/linux/atheros/patches-3.18/110-ar2313_ethernet.patch b/target/linux/ath25/patches-3.18/110-ar2313_ethernet.patch
similarity index 100%
rename from target/linux/atheros/patches-3.18/110-ar2313_ethernet.patch
rename to target/linux/ath25/patches-3.18/110-ar2313_ethernet.patch
diff --git a/target/linux/atheros/patches-3.18/120-spiflash.patch b/target/linux/ath25/patches-3.18/120-spiflash.patch
similarity index 100%
rename from target/linux/atheros/patches-3.18/120-spiflash.patch
rename to target/linux/ath25/patches-3.18/120-spiflash.patch
diff --git a/target/linux/atheros/patches-3.18/130-watchdog.patch b/target/linux/ath25/patches-3.18/130-watchdog.patch
similarity index 100%
rename from target/linux/atheros/patches-3.18/130-watchdog.patch
rename to target/linux/ath25/patches-3.18/130-watchdog.patch
diff --git a/target/linux/atheros/patches-3.18/140-redboot_boardconfig.patch b/target/linux/ath25/patches-3.18/140-redboot_boardconfig.patch
similarity index 100%
rename from target/linux/atheros/patches-3.18/140-redboot_boardconfig.patch
rename to target/linux/ath25/patches-3.18/140-redboot_boardconfig.patch
diff --git a/target/linux/atheros/patches-3.18/141-redboot_partition_scan.patch b/target/linux/ath25/patches-3.18/141-redboot_partition_scan.patch
similarity index 100%
rename from target/linux/atheros/patches-3.18/141-redboot_partition_scan.patch
rename to target/linux/ath25/patches-3.18/141-redboot_partition_scan.patch
diff --git a/target/linux/atheros/patches-3.18/142-redboot_various_erase_size_fix.patch b/target/linux/ath25/patches-3.18/142-redboot_various_erase_size_fix.patch
similarity index 100%
rename from target/linux/atheros/patches-3.18/142-redboot_various_erase_size_fix.patch
rename to target/linux/ath25/patches-3.18/142-redboot_various_erase_size_fix.patch
diff --git a/target/linux/atheros/patches-3.18/210-reset_button.patch b/target/linux/ath25/patches-3.18/210-reset_button.patch
similarity index 100%
rename from target/linux/atheros/patches-3.18/210-reset_button.patch
rename to target/linux/ath25/patches-3.18/210-reset_button.patch
diff --git a/target/linux/atheros/patches-3.18/220-enet_micrel_workaround.patch b/target/linux/ath25/patches-3.18/220-enet_micrel_workaround.patch
similarity index 100%
rename from target/linux/atheros/patches-3.18/220-enet_micrel_workaround.patch
rename to target/linux/ath25/patches-3.18/220-enet_micrel_workaround.patch
diff --git a/target/linux/atheros/patches-3.18/330-board_leds.patch b/target/linux/ath25/patches-3.18/330-board_leds.patch
similarity index 100%
rename from target/linux/atheros/patches-3.18/330-board_leds.patch
rename to target/linux/ath25/patches-3.18/330-board_leds.patch
-- 
2.0.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list