build: use -nostdinc and -isystem in NOSTDINC_FLAGS for out-of-tree kernel modules
[openwrt/staging/dedeckeh.git] / package / kernel / ath10k-ct / Makefile
index 32b294a69fdf5858d41f033b6b211815421482d6..a225bd8b191fce713c342bbe7b674283d3f6ee75 100644 (file)
@@ -52,7 +52,8 @@ $(call KernelPackage/ath10k-ct)
   VARIANT:=smallbuffers
 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 \