projects
/
hvutilities.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3b7636
)
Remove leading spaces from DT_SCHEMA_FILES
author
Hugo Villeneuve
<hugo@hugovil.com>
Thu, 21 Sep 2023 14:42:21 +0000
(10:42 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Wed, 11 Oct 2023 15:36:24 +0000
(11:36 -0400)
scripts/hvk-dt.sh
patch
|
blob
|
history
diff --git
a/scripts/hvk-dt.sh
b/scripts/hvk-dt.sh
index
aae437f
..
98c3b80
100755
(executable)
--- a/
scripts/hvk-dt.sh
+++ b/
scripts/hvk-dt.sh
@@
-15,6
+15,11
@@
fi
DT_CHECKER="${KMAKE} DT_CHECKER_FLAGS=-m dt_binding_check"
+# Remove leading whitespace to avoid the Makefile interpreting DT_SCHEMA_FILES
+# as empty like in this example:
+# ${DT_CHECKER} DT_SCHEMA_FILES= Documentation/devicetree/bindings...
+DT_SCHEMA_FILES=$(echo ${DT_SCHEMA_FILES} | xargs)
+
if [ x"${DT_SCHEMA_FILES}" != x"" ]; then
${DT_CHECKER} DT_SCHEMA_FILES=${DT_SCHEMA_FILES}
fi