summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-06-12 09:54:33 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-06-12 09:54:33 +0000
commit2a87e94c5599a2071d5d3be385300e047b3ee694 (patch)
tree6087d64647309740f39b862838c2472c04cafede
parent8625070e1cb66a3dd435fef809574740630d5b33 (diff)
downloadptxdist-2a87e94c5599a2071d5d3be385300e047b3ee694.tar.gz
ptxdist-2a87e94c5599a2071d5d3be385300e047b3ee694.tar.xz
[cmake] fix PTXDIST_CMAKE_TOOLCHAIN dependency
move PTXDIST_CMAKE_TOOLCHAIN dep from virtual-cross-tools to host-cmake. this prevents a whole project rebuild if the cmake configuration is changed, only the cmake based project will be rebuilt then. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10751 33e552b5-05e3-0310-8538-816dae2090ed
-rw-r--r--rules/host-cmake.make2
-rw-r--r--rules/post/virtual.make2
2 files changed, 2 insertions, 2 deletions
diff --git a/rules/host-cmake.make b/rules/host-cmake.make
index 7e85ccca1..607fc4d4d 100644
--- a/rules/host-cmake.make
+++ b/rules/host-cmake.make
@@ -46,6 +46,8 @@ HOST_CMAKE_ENV := $(HOST_ENV)
#
HOST_CMAKE_AUTOCONF := $(HOST_AUTOCONF)
+$(STATEDIR)/host-cmake.install.post: $(PTXDIST_CMAKE_TOOLCHAIN)
+
# ----------------------------------------------------------------------------
# Clean
# ----------------------------------------------------------------------------
diff --git a/rules/post/virtual.make b/rules/post/virtual.make
index 1e9359883..aad92dff9 100644
--- a/rules/post/virtual.make
+++ b/rules/post/virtual.make
@@ -20,8 +20,6 @@ ifdef PTXCONF_CROSS_PKG_CONFIG_WRAPPER
$(STATEDIR)/virtual-cross-tools.install: $(STATEDIR)/cross-pkg-config-wrapper.install
endif
-$(STATEDIR)/virtual-cross-tools.install: $(PTXDIST_CMAKE_TOOLCHAIN)
-
$(STATEDIR)/virtual-cross-tools.install:
@$(call targetinfo)
@$(call touch)