Fix Compilation for host cmake tools.
and fix compilation of x86_64 target.
This commit is contained in:
@@ -498,9 +498,12 @@ prepare: $(BUILD_DIR)/buildroot-config/auto.conf
|
||||
|
||||
world: target-post-image
|
||||
|
||||
rebuild: $(foreach pkg,$(PACKAGES),$(pkg)-clean-for-rebuild) world
|
||||
|
||||
.PHONY: all world toolchain dirs clean distclean source outputmakefile \
|
||||
legal-info legal-info-prepare legal-info-clean printvars help \
|
||||
list-defconfigs target-finalize target-post-image source-check
|
||||
list-defconfigs target-finalize target-post-image source-check \
|
||||
rebuild
|
||||
|
||||
################################################################################
|
||||
#
|
||||
|
||||
@@ -110,7 +110,7 @@ define $(2)_CONFIGURE_CMDS
|
||||
cd $$($$(PKG)_BUILDDIR) && \
|
||||
rm -f CMakeCache.txt && \
|
||||
PATH=$$(BR_PATH) \
|
||||
$$(BR2_CMAKE) $$($$(PKG)_SRCDIR) \
|
||||
$$($$(PKG)_CONF_ENV) $$(BR2_CMAKE) $$($$(PKG)_SRCDIR) \
|
||||
-DCMAKE_INSTALL_SO_NO_EXE=0 \
|
||||
-DCMAKE_FIND_ROOT_PATH="$$(HOST_DIR)" \
|
||||
-DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM="BOTH" \
|
||||
|
||||
Reference in New Issue
Block a user