Skip to content

Commit

Permalink
kbuild: remove prepare3 target
Browse files Browse the repository at this point in the history
Now prepare3 does nothing but depends on include/config/kernel.release

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
  • Loading branch information
Masahiro Yamada committed Aug 29, 2019
1 parent e8e83a2 commit a5139fb
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1118,11 +1118,9 @@ scripts: scripts_basic scripts_dtc
# archprepare is used in arch Makefiles and when processed asm symlink,
# version.h and scripts_basic is processed / created.

PHONY += prepare archprepare prepare3
PHONY += prepare archprepare

prepare3: include/config/kernel.release

archprepare: archheaders archscripts scripts prepare3 outputmakefile \
archprepare: archheaders archscripts scripts include/config/kernel.release outputmakefile \
asm-generic $(version_h) $(autoksyms_h) include/generated/utsrelease.h

prepare0: archprepare
Expand Down Expand Up @@ -1258,11 +1256,11 @@ endif

ifneq ($(dtstree),)

%.dtb: prepare3 scripts_dtc
%.dtb: include/config/kernel.release scripts_dtc
$(Q)$(MAKE) $(build)=$(dtstree) $(dtstree)/$@

PHONY += dtbs dtbs_install dt_binding_check
dtbs dtbs_check: prepare3 scripts_dtc
dtbs dtbs_check: include/config/kernel.release scripts_dtc
$(Q)$(MAKE) $(build)=$(dtstree)

dtbs_check: export CHECK_DTBS=1
Expand Down

0 comments on commit a5139fb

Please sign in to comment.