diff --git a/tools/host_det.sh b/tools/host_det.sh index 0dfa99a843f77a2f12e92737d9f59f3697df38f9..2e7fdb66b91290fadc4deb0973ecc5eb4b874a18 100755 --- a/tools/host_det.sh +++ b/tools/host_det.sh @@ -116,6 +116,13 @@ if [ ! $(which ccache) ];then APT=1 fi +if [ ! $(which dtc) ];then + echo "Missing device-tree-compiler" + UPACKAGE+="device-tree-compiler " + DPACKAGE+="device-tree-compiler " + APT=1 +fi + #Note: Without dpkg-dev from build-essential, this can be a false positive MULTIARCHLIB="/usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null`"