build: use -nostdinc and -isystem in NOSTDINC_FLAGS for out-of-tree kernel modules
authorFelix Fietkau <nbd@nbd.name>
Thu, 18 Mar 2021 06:22:11 +0000 (07:22 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sun, 4 Apr 2021 09:39:51 +0000 (11:39 +0200)
commit95b838f75bd96705d5192acc56af34801ed6854d
tree7ea498bd24ae449398058a8e8ca99b57f027fbd7
parent609033767918a67e92046b266230cd88ac4a37f6
build: use -nostdinc and -isystem in NOSTDINC_FLAGS for out-of-tree kernel modules

This resolves issues uncovered by musl updates

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry-picked from commit 9ac47ee46918c45b91f4e4d1fa76b1e26b9d57fe)
include/kernel.mk
package/kernel/ath10k-ct/Makefile
package/kernel/mt76/Makefile
package/kernel/mwlwifi/Makefile
package/kernel/rtl8812au-ct/Makefile