summaryrefslogtreecommitdiffstats
path: root/rules/templates
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-01-03 18:01:31 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-01-03 18:01:31 +0100
commit395080ff47e4fd5de6dc8918cdb278b5b8cbe161 (patch)
tree85efacf812e34d2a7f7c4e1ef6a8b91e5dba1734 /rules/templates
parent92fc67cfd96d3b4bf42cb30c64e99f1a0d76a49a (diff)
downloadptxdist-395080ff47e4fd5de6dc8918cdb278b5b8cbe161.tar.gz
ptxdist-395080ff47e4fd5de6dc8918cdb278b5b8cbe161.tar.xz
[templates] call autogen.sh for release versions if configure is missing
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/templates')
-rw-r--r--rules/templates/template-src-autoconf-make2
-rw-r--r--rules/templates/template-src-stellaris-make2
2 files changed, 4 insertions, 0 deletions
diff --git a/rules/templates/template-src-autoconf-make b/rules/templates/template-src-autoconf-make
index ff1222d22..2a90bb94a 100644
--- a/rules/templates/template-src-autoconf-make
+++ b/rules/templates/template-src-autoconf-make
@@ -41,6 +41,8 @@ $(STATEDIR)/@package@.extract:
@$(call extract, @PACKAGE@)
ifdef PTXCONF_@PACKAGE@_TRUNK
cd $(@PACKAGE@_DIR) && sh autogen.sh
+else
+ cd $(@PACKAGE@_DIR) && [ -f configure ] || sh autogen.sh
endif
@$(call patchin, @PACKAGE@)
@$(call touch)
diff --git a/rules/templates/template-src-stellaris-make b/rules/templates/template-src-stellaris-make
index b46d7ab54..03ccd0342 100644
--- a/rules/templates/template-src-stellaris-make
+++ b/rules/templates/template-src-stellaris-make
@@ -56,6 +56,8 @@ $(STATEDIR)/@package@.extract:
@$(call extract, @PACKAGE@)
ifdef PTXCONF_@PACKAGE@_TRUNK
cd $(@PACKAGE@_DIR) && sh autogen.sh
+else
+ cd $(@PACKAGE@_DIR) && [ -f configure ] || sh autogen.sh
endif
@$(call patchin, @PACKAGE@)
@$(call touch)