diff options
author | Nicolas Thill <nico@openwrt.org> | 2006-10-27 19:14:43 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2006-10-27 19:14:43 +0000 |
commit | 803f212243a65e5c6669e6a8902d479eefe1adaf (patch) | |
tree | 78acb62dd9cbfc3b669e0998eca8b113eca824d7 /package/madwifi | |
parent | 35d17c51695271f845e3b23578f8ad166fa8afb6 (diff) | |
download | upstream-803f212243a65e5c6669e6a8902d479eefe1adaf.tar.gz upstream-803f212243a65e5c6669e6a8902d479eefe1adaf.tar.bz2 upstream-803f212243a65e5c6669e6a8902d479eefe1adaf.zip |
use target optimization flags for madwifi tools
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5314 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-rw-r--r-- | package/madwifi/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile index 962795ab20..6fa682b061 100644 --- a/package/madwifi/Makefile +++ b/package/madwifi/Makefile @@ -105,19 +105,22 @@ MADWIFI_MAKEOPTS= -C $(PKG_BUILD_DIR) \ ifeq ($(findstring AHB,$(BUS)),AHB) define Build/Compile/ahb - $(MAKE) $(MADWIFI_MAKEOPTS) BUS="AHB" all + $(MAKE) $(MADWIFI_MAKEOPTS) BUS="AHB" modules endef endif ifeq ($(findstring PCI,$(BUS)),PCI) define Build/Compile/pci - $(MAKE) $(MADWIFI_MAKEOPTS) BUS="PCI" all + $(MAKE) $(MADWIFI_MAKEOPTS) BUS="PCI" modules endef endif define Build/Compile $(call Build/Compile/ahb) $(call Build/Compile/pci) + $(MAKE) $(MADWIFI_MAKEOPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + tools endef define Build/InstallDev |