projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build: use -nostdinc and -isystem in NOSTDINC_FLAGS for out-of-tree kernel modules
[openwrt/openwrt.git]
/
package
/
kernel
/
mwlwifi
/
Makefile
diff --git
a/package/kernel/mwlwifi/Makefile
b/package/kernel/mwlwifi/Makefile
index ebd88bb352f21574d4a9412de2d5917f54a33634..648c826ccb9278c9c23dfa88f81862c7c808cbb2 100644
(file)
--- a/
package/kernel/mwlwifi/Makefile
+++ b/
package/kernel/mwlwifi/Makefile
@@
-33,7
+33,8
@@
define KernelPackage/mwlwifi
AUTOLOAD:=$(call AutoLoad,50,mwlwifi)
endef
-NOSTDINC_FLAGS = \
+NOSTDINC_FLAGS := \
+ $(KERNEL_NOSTDINC_FLAGS) \
-I$(PKG_BUILD_DIR) \
-I$(STAGING_DIR)/usr/include/mac80211-backport/uapi \
-I$(STAGING_DIR)/usr/include/mac80211-backport \