From: Nicolas Thill Date: Fri, 27 Oct 2006 19:14:43 +0000 (+0000) Subject: use target optimization flags for madwifi tools X-Git-Tag: reboot~30547 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8a7cf55e06f8dd3c0eac0271112c01f165605abe;p=openwrt%2Fopenwrt.git use target optimization flags for madwifi tools SVN-Revision: 5314 --- 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