aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/cmake.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cmake.mk b/include/cmake.mk
index 80c1b05937..900dae1d4a 100644
--- a/include/cmake.mk
+++ b/include/cmake.mk
@@ -107,3 +107,7 @@ define Host/Configure/Default
$(HOST_CMAKE_SOURCE_DIR) \
)
endef
+
+MAKE_FLAGS += \
+ CMAKE_COMMAND='$$(if $$(CMAKE_DISABLE_$$@),:,$(STAGING_DIR_HOST)/bin/cmake)' \
+ CMAKE_DISABLE_cmake_check_build_system=1