mirror of https://github.com/hak5/openwrt.git
rt2x00 fixes after [8548]: * fix creating defines from kconfig * revert auto-inclusion of rt2x00_compat.h
SVN-Revision: 8551lede-17.01
parent
297cf0cb90
commit
6550278912
|
@ -130,8 +130,8 @@ ifndef ($(CONFIG_MAC80211),)
|
||||||
|
|
||||||
PKG_EXTRA_CFLAGS:= \
|
PKG_EXTRA_CFLAGS:= \
|
||||||
-I$(STAGING_DIR)/usr/include/mac80211 \
|
-I$(STAGING_DIR)/usr/include/mac80211 \
|
||||||
$(patsubst CONFIG_%, -DCONFIG_%=1, $(filter %=m,$(PKG_EXTRA_KCONFIG))) \
|
$(patsubst CONFIG_%, -DCONFIG_%=1, $(patsubst %=m,%,$(filter %=m,$(PKG_EXTRA_KCONFIG)))) \
|
||||||
$(patsubst CONFIG_%, -DCONFIG_%=1, $(filter %=y,$(PKG_EXTRA_KCONFIG))) \
|
$(patsubst CONFIG_%, -DCONFIG_%=1, $(patsubst %=y,%,$(filter %=y,$(PKG_EXTRA_KCONFIG)))) \
|
||||||
|
|
||||||
define Build/Compile/it
|
define Build/Compile/it
|
||||||
$(MAKE) -C "$(LINUX_DIR)" \
|
$(MAKE) -C "$(LINUX_DIR)" \
|
||||||
|
|
|
@ -97,6 +97,7 @@ endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
MAKEFLAGS += --no-print-directory
|
MAKEFLAGS += --no-print-directory
|
||||||
|
CFLAGS := -include $(SUBDIRS)/rt2x00_compat.h $(CFLAGS)
|
||||||
|
|
||||||
all: default
|
all: default
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue