Skip to content

Commit c473a8d

Browse files
committed
kbuild: add dt_binding_check to PHONY in a correct place
The dt_binding_check is added to PHONY, but it is invisible when $(dtstree) is empty. So, it is not specified as phony for ARCH=x86 etc. Add it to PHONY outside the ifneq ... endif block. Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Rob Herring <[email protected]>
1 parent 964a596 commit c473a8d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1239,7 +1239,7 @@ ifneq ($(dtstree),)
12391239
%.dtb: include/config/kernel.release scripts_dtc
12401240
$(Q)$(MAKE) $(build)=$(dtstree) $(dtstree)/$@
12411241

1242-
PHONY += dtbs dtbs_install dtbs_check dt_binding_check
1242+
PHONY += dtbs dtbs_install dtbs_check
12431243
dtbs dtbs_check: include/config/kernel.release scripts_dtc
12441244
$(Q)$(MAKE) $(build)=$(dtstree)
12451245

@@ -1259,6 +1259,7 @@ PHONY += scripts_dtc
12591259
scripts_dtc: scripts_basic
12601260
$(Q)$(MAKE) $(build)=scripts/dtc
12611261

1262+
PHONY += dt_binding_check
12621263
dt_binding_check: scripts_dtc
12631264
$(Q)$(MAKE) $(build)=Documentation/devicetree/bindings
12641265

0 commit comments

Comments
 (0)