diff options
Diffstat (limited to 'package/acx-mac80211/Makefile')
-rw-r--r-- | package/acx-mac80211/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/acx-mac80211/Makefile b/package/acx-mac80211/Makefile index 65ef0e1e7..8b09b43a4 100644 --- a/package/acx-mac80211/Makefile +++ b/package/acx-mac80211/Makefile @@ -50,7 +50,6 @@ $(DL_DIR)/$(PKG_FW_NAME): CONFIG_ACX_MAC80211_PCI=m \ PKG_EXTRA_CFLAGS:= \ - -I$(STAGING_DIR)/usr/include/mac80211 \ $(patsubst CONFIG_%, -DCONFIG_%=1, $(patsubst %=m,%,$(filter %=m,$(PKG_EXTRA_KCONFIG)))) \ $(patsubst CONFIG_%, -DCONFIG_%=1, $(patsubst %=y,%,$(filter %=y,$(PKG_EXTRA_KCONFIG)))) \ @@ -61,6 +60,8 @@ $(DL_DIR)/$(PKG_FW_NAME): SUBDIRS="$(PKG_BUILD_DIR)" \ $(PKG_EXTRA_KCONFIG) \ EXTRA_CFLAGS="$(PKG_EXTRA_CFLAGS)" \ + LINUXINCLUDE="-I$(STAGING_DIR)/usr/include/mac80211 -I$(LINUX_DIR)/include \ + -include linux/autoconf.h" \ V="$(V)" \ modules endef |