From 3c5d35183ed4cdf928ac9cf0eba56cc50dd8328f Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Sat, 28 Feb 2009 18:47:43 +0000 Subject: [PATCH] move madwifi driver into a separate profile, and add hostapd-mini for the devices based on the ar913x SVN-Revision: 14694 --- target/linux/ar71xx/Makefile | 6 ++++-- target/linux/ar71xx/image/Makefile | 5 +++++ target/linux/ar71xx/profiles/00-default.mk | 2 +- target/linux/ar71xx/profiles/01-madwifi.mk | 16 ++++++++++++++++ target/linux/ar71xx/profiles/compex.mk | 2 +- target/linux/ar71xx/profiles/d-link.mk | 2 +- target/linux/ar71xx/profiles/planex.mk | 2 +- target/linux/ar71xx/profiles/tp-link.mk | 2 +- target/linux/ar71xx/profiles/trendnet.mk | 2 +- target/linux/ar71xx/profiles/ubnt.mk | 2 +- 10 files changed, 32 insertions(+), 9 deletions(-) create mode 100644 target/linux/ar71xx/profiles/01-madwifi.mk diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile index 893742600762..948c4615cf41 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 720be1c1e0f9..c861dce25bdc 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 5b9df1d5608d..d4044a6f4be3 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 000000000000..6eb17948e6ad --- /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 468c25179e54..cd9fd48367a6 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 0aa50a640d73..460900ddf6f6 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 df92b1670efc..ec20d893f56f 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 db60e1d1f775..9aaae29e363a 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 3a40fbcaee7b..22dfe9009a44 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 e7b20deaa0ce..ac9ef3619db4 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)) -- 2.30.2