aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-03-05 22:06:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-03-05 22:06:30 +0000
commitc3faa6be75614838f44104e5ef4a9d4cc7b90bb3 (patch)
tree8bbc00aef2f2baa05e1042a4233df4341d8deb6b /package/network/services/hostapd/Makefile
parentd023a087532869bbec589d77928b9796997e01a1 (diff)
downloadupstream-c3faa6be75614838f44104e5ef4a9d4cc7b90bb3.tar.gz
upstream-c3faa6be75614838f44104e5ef4a9d4cc7b90bb3.tar.bz2
upstream-c3faa6be75614838f44104e5ef4a9d4cc7b90bb3.zip
hostapd: include the madwifi headers in the package directory to avoid compile breakage if the madwifi build fails
SVN-Revision: 35893
Diffstat (limited to 'package/network/services/hostapd/Makefile')
-rw-r--r--package/network/services/hostapd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile
index 80f9a0dfde..80845bf06b 100644
--- a/package/network/services/hostapd/Makefile
+++ b/package/network/services/hostapd/Makefile
@@ -218,7 +218,7 @@ TARGET_CPPFLAGS := \
-I$(STAGING_DIR)/usr/include/libnl-tiny \
-I$(PKG_BUILD_DIR)/src/crypto \
$(TARGET_CPPFLAGS) \
- -I$(STAGING_DIR)/usr/include/madwifi \
+ -I$(CURDIR)/madwifi \
-DCONFIG_LIBNL20 \
-D_GNU_SOURCE \
$(if $(CONFIG_WPA_MSG_MIN_PRIORITY),-DCONFIG_MSG_MIN_PRIORITY=$(CONFIG_WPA_MSG_MIN_PRIORITY))