dt-bindings: Makefile: Allow for symlinks to find bindings

Allow for bindings to be found via symlinks.

Change-Id: I095931fb2fb50f1886a22d793df447c358fd0b14
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
This commit is contained in:
Melody Olvera
2023-04-03 15:39:42 -07:00
parent 6f18ce8026
commit cb8cf933bf

View File

@@ -25,7 +25,7 @@ quiet_cmd_extract_ex = DTEX $@
$(obj)/%.example.dts: $(src)/%.yaml check_dtschema_version FORCE $(obj)/%.example.dts: $(src)/%.yaml check_dtschema_version FORCE
$(call if_changed,extract_ex) $(call if_changed,extract_ex)
find_all_cmd = find $(srctree)/$(src) \( -name '*.yaml' ! \ find_all_cmd = find -L $(srctree)/$(src) \( -name '*.yaml' ! \
-name 'processed-schema*' \) -name 'processed-schema*' \)
find_cmd = $(find_all_cmd) | grep -F "$(DT_SCHEMA_FILES)" find_cmd = $(find_all_cmd) | grep -F "$(DT_SCHEMA_FILES)"