]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - Makefile
kbuild: Do not pick up ARCH_{CPP,A,C}FLAGS from the environment
[mirror_ubuntu-artful-kernel.git] / Makefile
index 13270c0a93363f079ccc3a112bfa7d7d80c7f429..dc868bcdaf4538a588e764d5b0ecba19e70b475a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -597,6 +597,11 @@ endif # $(dot-config)
 # Defaults to vmlinux, but the arch makefile usually adds further targets
 all: vmlinux
 
+# The arch Makefile can set ARCH_{CPP,A,C}FLAGS to override the default
+# values of the respective KBUILD_* variables
+ARCH_CPPFLAGS :=
+ARCH_AFLAGS :=
+ARCH_CFLAGS :=
 include arch/$(SRCARCH)/Makefile
 
 KBUILD_CFLAGS  += $(call cc-option,-fno-delete-null-pointer-checks,)