projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[target] derive system from hostcc to allow building inside a chroot
[openwrt.git]
/
toolchain
/
kernel-headers
/
Makefile
diff --git
a/toolchain/kernel-headers/Makefile
b/toolchain/kernel-headers/Makefile
index
ca8a78f
..
7f0962e
100644
(file)
--- a/
toolchain/kernel-headers/Makefile
+++ b/
toolchain/kernel-headers/Makefile
@@
-36,6
+36,7
@@
HOST_EXTRACFLAGS=
LINUX_HAS_HEADERS_INSTALL:=y
KMAKE := $(MAKE) -C $(HOST_BUILD_DIR) \
+ HOSTCFLAGS="$(HOST_CFLAGS) -Wall -Wmissing-prototypes -Wstrict-prototypes" \
ARCH=$(LINUX_KARCH) \
CC="$(KERNEL_CC)" \
CFLAGS="$(TARGET_CFLAGS)" \