diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-03-12 19:13:55 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.com> | 2016-04-20 04:27:20 -0400 |
commit | 2e8d696b79e9c68d3005a9b09a8c72625d141ea6 (patch) | |
tree | 1eac61253aac676e858f9d586e05e456b8ba2015 /Makefile | |
parent | 4deaaa4deb0f9c42452711aa0a4b9c27016ca2f0 (diff) |
kbuild: drop FORCE from PHONY targets
These targets are marked as PHONY. No need to add FORCE to their
dependency.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -142,7 +142,7 @@ PHONY += $(MAKECMDGOALS) sub-make | |||
142 | $(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make | 142 | $(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make |
143 | @: | 143 | @: |
144 | 144 | ||
145 | sub-make: FORCE | 145 | sub-make: |
146 | $(Q)$(MAKE) -C $(KBUILD_OUTPUT) KBUILD_SRC=$(CURDIR) \ | 146 | $(Q)$(MAKE) -C $(KBUILD_OUTPUT) KBUILD_SRC=$(CURDIR) \ |
147 | -f $(CURDIR)/Makefile $(filter-out _all sub-make,$(MAKECMDGOALS)) | 147 | -f $(CURDIR)/Makefile $(filter-out _all sub-make,$(MAKECMDGOALS)) |
148 | 148 | ||
@@ -1018,7 +1018,7 @@ prepare1: prepare2 $(version_h) include/generated/utsrelease.h \ | |||
1018 | 1018 | ||
1019 | archprepare: archheaders archscripts prepare1 scripts_basic | 1019 | archprepare: archheaders archscripts prepare1 scripts_basic |
1020 | 1020 | ||
1021 | prepare0: archprepare FORCE | 1021 | prepare0: archprepare |
1022 | $(Q)$(MAKE) $(build)=. | 1022 | $(Q)$(MAKE) $(build)=. |
1023 | 1023 | ||
1024 | # All the preparing.. | 1024 | # All the preparing.. |
@@ -1077,7 +1077,7 @@ INSTALL_FW_PATH=$(INSTALL_MOD_PATH)/lib/firmware | |||
1077 | export INSTALL_FW_PATH | 1077 | export INSTALL_FW_PATH |
1078 | 1078 | ||
1079 | PHONY += firmware_install | 1079 | PHONY += firmware_install |
1080 | firmware_install: FORCE | 1080 | firmware_install: |
1081 | @mkdir -p $(objtree)/firmware | 1081 | @mkdir -p $(objtree)/firmware |
1082 | $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.fwinst obj=firmware __fw_install | 1082 | $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.fwinst obj=firmware __fw_install |
1083 | 1083 | ||
@@ -1097,7 +1097,7 @@ PHONY += archscripts | |||
1097 | archscripts: | 1097 | archscripts: |
1098 | 1098 | ||
1099 | PHONY += __headers | 1099 | PHONY += __headers |
1100 | __headers: $(version_h) scripts_basic asm-generic archheaders archscripts FORCE | 1100 | __headers: $(version_h) scripts_basic asm-generic archheaders archscripts |
1101 | $(Q)$(MAKE) $(build)=scripts build_unifdef | 1101 | $(Q)$(MAKE) $(build)=scripts build_unifdef |
1102 | 1102 | ||
1103 | PHONY += headers_install_all | 1103 | PHONY += headers_install_all |