build-style cmake: depend only if $CHROOT_READY

This commit is contained in:
Jürgen Buchmüller 2020-10-20 13:35:22 +02:00
parent 7288a46980
commit 375a75dc07

View file

@ -1 +1,5 @@
hostmakedepends+=" cmake"
if [ "$CHROOT_READY" ]; then
if [[ "$hostmakedepends" != *"cmake-bootstrap"* ]]; then
hostmakedepends+=" cmake"
fi
fi