From 06a71d286f28d391191ce117ebeceb366ca6d97a Mon Sep 17 00:00:00 2001 From: juhosg Date: Sat, 28 Feb 2009 18:47:43 +0000 Subject: [PATCH] [ar71xx] move madwifi driver into a separate profile, and add hostapd-mini for the devices based on the ar913x git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14694 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 893742600..948c4615c 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 720be1c1e..c861dce25 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 5b9df1d56..d4044a6f4 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 000000000..6eb17948e --- /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 468c25179..cd9fd4836 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 0aa50a640..460900ddf 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 df92b1670..ec20d893f 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 db60e1d1f..9aaae29e3 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 3a40fbcae..22dfe9009 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 e7b20deaa..ac9ef3619 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.20.1