aboutsummaryrefslogtreecommitdiffstats
path: root/package/acx-mac80211/Makefile
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-01-27 21:16:35 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-01-27 21:16:35 +0000
commit2d66598f415cb00b094e26656bf718856e293022 (patch)
tree14a119c6643063e8824c2e59ac5f73512e477a99 /package/acx-mac80211/Makefile
parent2c0e5f83dbc85b9425b063f48d1de600abcc6f15 (diff)
downloadupstream-2d66598f415cb00b094e26656bf718856e293022.tar.gz
upstream-2d66598f415cb00b094e26656bf718856e293022.tar.bz2
upstream-2d66598f415cb00b094e26656bf718856e293022.zip
acx-mac80211: make it compile with kernel 3.8
SVN-Revision: 35334
Diffstat (limited to 'package/acx-mac80211/Makefile')
-rw-r--r--package/acx-mac80211/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/acx-mac80211/Makefile b/package/acx-mac80211/Makefile
index d29cf407db..35f7e39eed 100644
--- a/package/acx-mac80211/Makefile
+++ b/package/acx-mac80211/Makefile
@@ -181,8 +181,6 @@ PKG_EXTRA_CFLAGS:= \
$(if $(CONFIG_PACKAGE_MAC80211_DEBUGFS), -DCONFIG_CFG80211_DEBUGFS -DCONFIG_MAC80211_DEBUGFS) \
$(if $(CONFIG_PACKAGE_MAC80211_MESH), -DCONFIG_MAC80211_MESH) \
-LINUX_AUTOCONF_FILE:= generated/autoconf.h
-
define Build/Compile
$(MAKE) -C "$(LINUX_DIR)" \
ARCH="$(LINUX_KARCH)" \
@@ -190,9 +188,11 @@ define Build/Compile
SUBDIRS="$(PKG_BUILD_DIR)" \
$(PKG_EXTRA_KCONFIG) \
EXTRA_CFLAGS="$(PKG_EXTRA_CFLAGS) -DCONFIG_ACX_MAC80211_VERSION=\"KERNEL_VERSION(3,8,0)\"" \
- LINUXINCLUDE="-I$(STAGING_DIR)/usr/include/mac80211/uapi -I$(STAGING_DIR)/usr/include/mac80211 -I$(LINUX_DIR)/include \
- -Iarch/$(LINUX_KARCH)/include \
- -include $(LINUX_AUTOCONF_FILE) \
+ LINUXINCLUDE="-I$(STAGING_DIR)/usr/include/mac80211/uapi -I$(STAGING_DIR)/usr/include/mac80211 \
+ -I$(LINUX_DIR)/include -I$(LINUX_DIR)/include/$(LINUX_UAPI_DIR) \
+ -I$(LINUX_DIR)/include/generated/uapi/ -Iarch/$(LINUX_KARCH)/include \
+ -Iarch/$(LINUX_KARCH)/include/$(LINUX_UAPI_DIR) \
+ -include generated/autoconf.h \
-include linux/compat-2.6.h" \
V="$(V)" \
modules