diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2004-12-29 02:15:39 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2004-12-29 02:15:39 +0100 |
commit | c97a20fb5b9e2f7e518d689e618971969f1df5cd (patch) | |
tree | 44315d03e7e03b83848b0a0ebb93896a04c1fb99 /scripts | |
parent | df3e98d645023ac8d78f5837ed5fc5c113548778 (diff) | |
download | history-c97a20fb5b9e2f7e518d689e618971969f1df5cd.tar.gz |
kbuild: Use -isystem `gcc --print-file-name=include`
Using "-nostdinc -isystem `gcc --print-file-name=include" let
us see full path to compiler specific files when compiling with make V=1
Furthermore it lets us use same definition for sparse (CHECKFLAGS) and the kernel.
Tested with gcc 3.3.4 only.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.build | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index d2263a3594d2a1..352d531ee3c1e0 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -83,7 +83,6 @@ __build: $(if $(KBUILD_BUILTIN),$(builtin-target) $(lib-target) $(extra-y)) \ # Linus' kernel sanity checking tool ifneq ($(KBUILD_CHECKSRC),0) - CHECKFLAGS += -I$(shell $(CC) -print-file-name=include) ifeq ($(KBUILD_CHECKSRC),2) quiet_cmd_force_checksrc = CHECK $< cmd_force_checksrc = $(CHECK) $(CHECKFLAGS) $(c_flags) $< ; |