mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
9dffecc133
The dt_binding_check target is located outside of the 'ifneq ($(dtstree),) ... endif' block. So, you can run 'make dt_binding_check' on any architecture. This makes a perfect sense because the dt-schema is arch-agnostic. The only one problem I see is that scripts/dtc/dtc is not always built. For example, ARCH=x86 defconfig does not define CONFIG_DTC. Kbuild descends into scripts/dtc/ with doing nothing. Then, it fails to build *.example.dt.yaml files. Let's build scripts/dtc/dtc forcibly when running dt_binding_check. The dt-schema does not depend on any CONFIG option either, so you should be able to run dt_binding_check without the .config file. Going forward, you can directly run 'make dt_binding_check' in a pristine source tree. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Rob Herring <robh@kernel.org> |
||
---|---|---|
.. | ||
include-prefixes | ||
libfdt | ||
.gitignore | ||
checks.c | ||
data.c | ||
dt_to_config | ||
dtc-lexer.l | ||
dtc-parser.y | ||
dtc.c | ||
dtc.h | ||
dtx_diff | ||
fdtdump.c | ||
fdtget.c | ||
fdtput.c | ||
flattree.c | ||
fstree.c | ||
livetree.c | ||
Makefile | ||
Makefile.dtc | ||
srcpos.c | ||
srcpos.h | ||
treesource.c | ||
update-dtc-source.sh | ||
util.c | ||
util.h | ||
version_gen.h | ||
yamltree.c |