X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=scripts%2Fhvk-dt.sh;h=98c3b80141e7f3c18eb365a8cca436a35c3f63df;hb=1fb7f27af45bc56ba87fd9ad73751fcafb332ee3;hp=aae437f7d1e3747786a4c8e494f26b8301ceb530;hpb=a5da940f226a74aba1c50279d04b37897beeec63;p=hvutilities.git diff --git a/scripts/hvk-dt.sh b/scripts/hvk-dt.sh index aae437f..98c3b80 100755 --- 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