summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-02-28 18:47:43 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-02-28 18:47:43 +0000
commit3c5d35183ed4cdf928ac9cf0eba56cc50dd8328f (patch)
treec84a2267d90516f062d2fd560055acf96e678f95
parent1b4c9db08f5170d1f4e858250faf4e397dda712d (diff)
downloadmtk-20170518-3c5d35183ed4cdf928ac9cf0eba56cc50dd8328f.zip
mtk-20170518-3c5d35183ed4cdf928ac9cf0eba56cc50dd8328f.tar.gz
mtk-20170518-3c5d35183ed4cdf928ac9cf0eba56cc50dd8328f.tar.bz2
move madwifi driver into a separate profile, and add hostapd-mini for the devices based on the ar913x
SVN-Revision: 14694
-rw-r--r--target/linux/ar71xx/Makefile6
-rw-r--r--target/linux/ar71xx/image/Makefile5
-rw-r--r--target/linux/ar71xx/profiles/00-default.mk2
-rw-r--r--target/linux/ar71xx/profiles/01-madwifi.mk16
-rw-r--r--target/linux/ar71xx/profiles/compex.mk2
-rw-r--r--target/linux/ar71xx/profiles/d-link.mk2
-rw-r--r--target/linux/ar71xx/profiles/planex.mk2
-rw-r--r--target/linux/ar71xx/profiles/tp-link.mk2
-rw-r--r--target/linux/ar71xx/profiles/trendnet.mk2
-rw-r--r--target/linux/ar71xx/profiles/ubnt.mk2
10 files changed, 32 insertions, 9 deletions
diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile
index 8937426..948c461 100644
--- a/target/linux/ar71xx/Makefile
+++ b/target/linux/ar71xx/Makefile
@@ -15,10 +15,12 @@ LINUX_VERSION:=2.6.28.7
include $(INCLUDE_DIR)/target.mk
-DEFAULT_PACKAGES += hostapd-mini kmod-madwifi kmod-gpio-leds
+DEFAULT_PACKAGES += \
+ kmod-gpio-leds kmod-input-core kmod-input-polldev \
+ kmod-input-gpio-buttons kmod-button-hotplug
define Target/Description
- Build firmware images for Atheros AR71xx/AR913x based boards
+ Build firmware images for Atheros AR71xx/AR913x based boards.
endef
$(eval $(call BuildTarget))
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 720be1c..c861dce 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -189,6 +189,11 @@ define Image/Build/Profile/Default
$(call Image/Build/Profile/WP543,$(1))
endef
+define Image/Build/Profile/Madwifi
+ $(call Image/Build/Profile/UBNTRS,$(1))
+ $(call Image/Build/Profile/WP543,$(1))
+endef
+
define Image/Build/squashfs
$(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
endef
diff --git a/target/linux/ar71xx/profiles/00-default.mk b/target/linux/ar71xx/profiles/00-default.mk
index 5b9df1d..d4044a6 100644
--- a/target/linux/ar71xx/profiles/00-default.mk
+++ b/target/linux/ar71xx/profiles/00-default.mk
@@ -6,7 +6,7 @@
#
define Profile/Default
- NAME:=Default
+ NAME:=Default Profile (no WiFi)
PACKAGES:=
endef
diff --git a/target/linux/ar71xx/profiles/01-madwifi.mk b/target/linux/ar71xx/profiles/01-madwifi.mk
new file mode 100644
index 0000000..6eb1794
--- /dev/null
+++ b/target/linux/ar71xx/profiles/01-madwifi.mk
@@ -0,0 +1,16 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/Madwifi
+ NAME:=Atheros WiFi (madwifi)
+ PACKAGES:=kmod-madwifi hostapd-mini
+endef
+
+define Profile/Madwifi/Description
+ Package set compatible with hardware using Atheros WiFi cards.
+endef
+$(eval $(call Profile,Madwifi))
diff --git a/target/linux/ar71xx/profiles/compex.mk b/target/linux/ar71xx/profiles/compex.mk
index 468c251..cd9fd48 100644
--- a/target/linux/ar71xx/profiles/compex.mk
+++ b/target/linux/ar71xx/profiles/compex.mk
@@ -11,7 +11,7 @@ define Profile/WP543
endef
define Profile/WP543/Description
- Package set optimized for the Compex WP543
+ Package set optimized for the Compex WP543.
endef
$(eval $(call Profile,WP543))
diff --git a/target/linux/ar71xx/profiles/d-link.mk b/target/linux/ar71xx/profiles/d-link.mk
index 0aa50a6..460900d 100644
--- a/target/linux/ar71xx/profiles/d-link.mk
+++ b/target/linux/ar71xx/profiles/d-link.mk
@@ -7,7 +7,7 @@
define Profile/DIR615C1
NAME:=D-Link DIR-615 rev. C1
- PACKAGES:=kmod-ath9k
+ PACKAGES:=kmod-ath9k hostapd-mini
endef
define Profile/DIR615C1/Description
diff --git a/target/linux/ar71xx/profiles/planex.mk b/target/linux/ar71xx/profiles/planex.mk
index df92b16..ec20d89 100644
--- a/target/linux/ar71xx/profiles/planex.mk
+++ b/target/linux/ar71xx/profiles/planex.mk
@@ -7,7 +7,7 @@
define Profile/MZKW04NU
NAME:=Planex MZK-W04NU
- PACKAGES:=kmod-ath9k kmod-usb-ohci kmod-usb2
+ PACKAGES:=kmod-ath9k hostapd-mini kmod-usb-ohci kmod-usb2
endef
define Profile/MZKW04NU/Description
diff --git a/target/linux/ar71xx/profiles/tp-link.mk b/target/linux/ar71xx/profiles/tp-link.mk
index db60e1d..9aaae29 100644
--- a/target/linux/ar71xx/profiles/tp-link.mk
+++ b/target/linux/ar71xx/profiles/tp-link.mk
@@ -7,7 +7,7 @@
define Profile/TLWR941ND
NAME:=TP-LINK TL-WR941ND
- PACKAGES:=kmod-ath9k
+ PACKAGES:=kmod-ath9k hostapd-mini
endef
define Profile/TLWR941ND/Description
diff --git a/target/linux/ar71xx/profiles/trendnet.mk b/target/linux/ar71xx/profiles/trendnet.mk
index 3a40fbc..22dfe90 100644
--- a/target/linux/ar71xx/profiles/trendnet.mk
+++ b/target/linux/ar71xx/profiles/trendnet.mk
@@ -7,7 +7,7 @@
define Profile/TEW632BRP
NAME:=TRENDNet TEW-632BRP
- PACKAGES:=kmod-ath9k
+ PACKAGES:=kmod-ath9k hostapd-mini
endef
define Profile/TEW632BRP/Description
diff --git a/target/linux/ar71xx/profiles/ubnt.mk b/target/linux/ar71xx/profiles/ubnt.mk
index e7b20de..ac9ef36 100644
--- a/target/linux/ar71xx/profiles/ubnt.mk
+++ b/target/linux/ar71xx/profiles/ubnt.mk
@@ -11,7 +11,7 @@ define Profile/UBNTRS
endef
define Profile/UBNTRS/Description
- Package set optimized for the Ubiquiti RouterStation
+ Package set optimized for the Ubiquiti RouterStation.
endef
$(eval $(call Profile,UBNTRS))