mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-23 07:01:06 +02:00
use target optimization flags for madwifi tools
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5314 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f47c09307a
commit
98b7ae9aae
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user