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-25 21:19:22 +0100
commite469733b466373f3c855134af21aa98198eb3cfa (patch)
tree3b82119a1b2c3d423264a2a8cc14abb6b53adaea
parenta4b6405878652b357d9a1ca634bb76fef81477e7 (diff)
downloadptxdist-e469733b466373f3c855134af21aa98198eb3cfa.tar.gz
ptxdist-e469733b466373f3c855134af21aa98198eb3cfa.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>
-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 4a63dd42b..23c593a01 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))