diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/Makefile.build | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index f21b48d4a8f2..7d884d8f37ff 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build | |||
| @@ -73,14 +73,12 @@ __build: $(if $(KBUILD_BUILTIN),$(builtin-target) $(lib-target) $(extra-y)) \ | |||
| 73 | @: | 73 | @: |
| 74 | 74 | ||
| 75 | # Linus' kernel sanity checking tool | 75 | # Linus' kernel sanity checking tool |
| 76 | ifneq ($(KBUILD_CHECKSRC),0) | 76 | ifeq ($(KBUILD_CHECKSRC),1) |
| 77 | ifeq ($(KBUILD_CHECKSRC),2) | 77 | quiet_cmd_checksrc = CHECK $< |
| 78 | quiet_cmd_force_checksrc = CHECK $< | 78 | cmd_checksrc = $(CHECK) $(CHECKFLAGS) $(c_flags) $< ; |
| 79 | cmd_force_checksrc = $(CHECK) $(CHECKFLAGS) $(c_flags) $< ; | 79 | else ifeq ($(KBUILD_CHECKSRC),2) |
| 80 | else | 80 | quiet_cmd_force_checksrc = CHECK $< |
| 81 | quiet_cmd_checksrc = CHECK $< | 81 | cmd_force_checksrc = $(CHECK) $(CHECKFLAGS) $(c_flags) $< ; |
| 82 | cmd_checksrc = $(CHECK) $(CHECKFLAGS) $(c_flags) $< ; | ||
| 83 | endif | ||
| 84 | endif | 82 | endif |
| 85 | 83 | ||
| 86 | ifneq ($(KBUILD_ENABLE_EXTRA_GCC_CHECKS),) | 84 | ifneq ($(KBUILD_ENABLE_EXTRA_GCC_CHECKS),) |
