diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2004-08-19 03:31:32 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2004-08-19 03:31:32 +0200 |
commit | f9a71d169c02064bf27d6be4993fee555c35c244 (patch) | |
tree | 01608f451706778e1fa68fc2a05a54fc2d7b644e /scripts | |
parent | f5ce51c635d17d0e03e18400bc57b591df2712ca (diff) | |
download | history-f9a71d169c02064bf27d6be4993fee555c35c244.tar.gz |
kbuild/all archs: added CHECKFLAGS
Using separate assignment for CHECKFLAGS allows convenient redefinition of CHECK
on the command line:
make CHECK=~/bin64/sparse C=2
to use a special 64 bit version.
Introduced usage in all archs that assined values to CHECK.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 5204640c46498d..21cb20586b47d1 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -85,10 +85,10 @@ __build: $(if $(KBUILD_BUILTIN),$(builtin-target) $(lib-target) $(extra-y)) \ ifneq ($(KBUILD_CHECKSRC),0) ifeq ($(KBUILD_CHECKSRC),2) quiet_cmd_force_checksrc = CHECK $< - cmd_force_checksrc = $(CHECK) $(c_flags) $< ; + cmd_force_checksrc = $(CHECK) $(CHECKFLAGS) $(c_flags) $< ; else quiet_cmd_checksrc = CHECK $< - cmd_checksrc = $(CHECK) $(c_flags) $< ; + cmd_checksrc = $(CHECK) $(CHECKFLAGS) $(c_flags) $< ; endif endif |