summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2020-02-09 21:26:47 (GMT)
committerGitHub <noreply@github.com>2020-02-09 21:26:47 (GMT)
commitbe04d505106561360611c7246fc16a177c9bc167 (patch)
tree560bde29666e37adfef6dc5ffe881829aa6c3e31 /scripts
parenta152d613139ef525dfd0ab3d31cd4bd4bbf97daf (diff)
parent13511cfbc0c8253bdf7d6529e521e34a8754e6b7 (diff)
Merge pull request #1303 from stilor/wip
Update docker to ubuntu 19.10
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/companion_tools/500-dtc.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/build/companion_tools/500-dtc.sh b/scripts/build/companion_tools/500-dtc.sh
index ce0b303..a16ff62 100644
--- a/scripts/build/companion_tools/500-dtc.sh
+++ b/scripts/build/companion_tools/500-dtc.sh
@@ -48,11 +48,17 @@ do_dtc_backend()
eval "${arg// /\\ }"
done
+ # Override PKG_CONFIG: if pkg-config is not installed, DTC's makefile
+ # misinterprets the error code and tries to enable YAML support while
+ # not linking against libyaml. NO_YAML=1 is sufficient to make the build
+ # pass; PKG_CONFIG=/bin/true just suppresses some scary error messages.
extra_opts=( \
CC="${host}-gcc" \
AR="${host}-ar" \
PREFIX="${prefix}" \
+ PKG_CONFIG=/bin/true \
NO_PYTHON=1 \
+ NO_YAML=1 \
BIN=dtc \
)
if [ -n "${CT_DTC_VERBOSE}" ]; then