mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:01:52 +02:00
rt2x00 fixes after [8548]:
* fix creating defines from kconfig * revert auto-inclusion of rt2x00_compat.h git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8551 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
885a5a1656
commit
d4bd7c7998
@ -130,8 +130,8 @@ ifndef ($(CONFIG_MAC80211),)
|
||||
|
||||
PKG_EXTRA_CFLAGS:= \
|
||||
-I$(STAGING_DIR)/usr/include/mac80211 \
|
||||
$(patsubst CONFIG_%, -DCONFIG_%=1, $(filter %=m,$(PKG_EXTRA_KCONFIG))) \
|
||||
$(patsubst CONFIG_%, -DCONFIG_%=1, $(filter %=y,$(PKG_EXTRA_KCONFIG))) \
|
||||
$(patsubst CONFIG_%, -DCONFIG_%=1, $(patsubst %=m,%,$(filter %=m,$(PKG_EXTRA_KCONFIG)))) \
|
||||
$(patsubst CONFIG_%, -DCONFIG_%=1, $(patsubst %=y,%,$(filter %=y,$(PKG_EXTRA_KCONFIG)))) \
|
||||
|
||||
define Build/Compile/it
|
||||
$(MAKE) -C "$(LINUX_DIR)" \
|
||||
|
@ -97,6 +97,7 @@ endif
|
||||
endif
|
||||
|
||||
MAKEFLAGS += --no-print-directory
|
||||
CFLAGS := -include $(SUBDIRS)/rt2x00_compat.h $(CFLAGS)
|
||||
|
||||
all: default
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user