summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2010-03-25 20:45:56 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2010-03-26 21:45:25 +0100
commitd171641275f6477892080e2ee98948c01a7e50bd (patch)
tree2648cbf09296ee45248f87350a00cd5683efa7f7
parent70d84c538f63bf7d4d80a405763f0ca569150c41 (diff)
downloadptxdist-d171641275f6477892080e2ee98948c01a7e50bd.tar.gz
ptxdist-d171641275f6477892080e2ee98948c01a7e50bd.tar.xz
[template-src-*-make] add dependency to autotools ...
...if we run autogen.sh Reported-by: Jon Ringle <jon@ringle.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> (cherry picked from commit e469733b466373f3c855134af21aa98198eb3cfa) Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r--rules/templates/template-src-autoconf-make4
-rw-r--r--rules/templates/template-src-stellaris-make4
2 files changed, 8 insertions, 0 deletions
diff --git a/rules/templates/template-src-autoconf-make b/rules/templates/template-src-autoconf-make
index 3ba3df482..c8081fd34 100644
--- a/rules/templates/template-src-autoconf-make
+++ b/rules/templates/template-src-autoconf-make
@@ -27,6 +27,10 @@ PACKAGES-$(PTXCONF_@PACKAGE@) += @package@
# Extract
# ----------------------------------------------------------------------------
+ifdef PTXCONF_@PACKAGE@_TRUNK
+$(STATEDIR)/@package@.extract: $(STATEDIR)/autogen-tools
+endif
+
$(STATEDIR)/@package@.extract:
@$(call targetinfo)
@$(call clean, $(@PACKAGE@_DIR))
diff --git a/rules/templates/template-src-stellaris-make b/rules/templates/template-src-stellaris-make
index 6f723189e..7ea8ada86 100644
--- a/rules/templates/template-src-stellaris-make
+++ b/rules/templates/template-src-stellaris-make
@@ -42,6 +42,10 @@ endif
# Extract
# ----------------------------------------------------------------------------
+ifdef PTXCONF_@PACKAGE@_TRUNK
+$(STATEDIR)/@package@.extract: $(STATEDIR)/autogen-tools
+endif
+
$(STATEDIR)/@package@.extract:
@$(call targetinfo)
@$(call clean, $(@PACKAGE@_DIR))