From 375a75dc0776321d837892349e2d3b4e1a77c905 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 20 Oct 2020 13:35:22 +0200 Subject: [PATCH] build-style cmake: depend only if $CHROOT_READY --- common/environment/build-style/cmake.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/environment/build-style/cmake.sh b/common/environment/build-style/cmake.sh index 41f758a69a6..25bd8a388ec 100644 --- a/common/environment/build-style/cmake.sh +++ b/common/environment/build-style/cmake.sh @@ -1 +1,5 @@ -hostmakedepends+=" cmake" +if [ "$CHROOT_READY" ]; then + if [[ "$hostmakedepends" != *"cmake-bootstrap"* ]]; then + hostmakedepends+=" cmake" + fi +fi