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 | 8a7cf55e06f8dd3c0eac0271112c01f165605abe (patch) | |
tree | 4c57760d990352fce10e984c7fa836ff9af8be00 /package/madwifi/Makefile | |
parent | 300eee71f942ce83e77f930facb0db53f3a90dc4 (diff) | |
download | mtk-20170518-8a7cf55e06f8dd3c0eac0271112c01f165605abe.zip mtk-20170518-8a7cf55e06f8dd3c0eac0271112c01f165605abe.tar.gz mtk-20170518-8a7cf55e06f8dd3c0eac0271112c01f165605abe.tar.bz2 |
use target optimization flags for madwifi tools
SVN-Revision: 5314
Diffstat (limited to 'package/madwifi/Makefile')
-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 962795a..6fa682b 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 |