mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 14:14:24 +08:00
kbuild: add dtbs_check to PHONY
The dtbs_check should be a phony target, but currently it is not specified so. 'make dtbs_check' works even if a file named 'dtbs_check' exists because it depends on another phony target, scripts_dtc, but we should not rely on it. Add dtbs_check to PHONY. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Acked-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
fd63fab48f
commit
964a596db8
2
Makefile
2
Makefile
@ -1239,7 +1239,7 @@ ifneq ($(dtstree),)
|
|||||||
%.dtb: include/config/kernel.release scripts_dtc
|
%.dtb: include/config/kernel.release scripts_dtc
|
||||||
$(Q)$(MAKE) $(build)=$(dtstree) $(dtstree)/$@
|
$(Q)$(MAKE) $(build)=$(dtstree) $(dtstree)/$@
|
||||||
|
|
||||||
PHONY += dtbs dtbs_install dt_binding_check
|
PHONY += dtbs dtbs_install dtbs_check dt_binding_check
|
||||||
dtbs dtbs_check: include/config/kernel.release scripts_dtc
|
dtbs dtbs_check: include/config/kernel.release scripts_dtc
|
||||||
$(Q)$(MAKE) $(build)=$(dtstree)
|
$(Q)$(MAKE) $(build)=$(dtstree)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user