summaryrefslogtreecommitdiffstats
path: root/rules/templates/template-src-stellaris-make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-03-03 11:11:55 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-03-07 14:19:42 +0100
commit0537557ae85c297bf7f60039cf9560dc45bfb4e5 (patch)
treeadc81a36f395ab6996538ef2940918e7414a6695 /rules/templates/template-src-stellaris-make
parent60de2541d619ad4626b324c42a9dbe81d8045fb3 (diff)
downloadptxdist-0537557ae85c297bf7f60039cf9560dc45bfb4e5.tar.gz
ptxdist-0537557ae85c297bf7f60039cf9560dc45bfb4e5.tar.xz
templates: remove fancy version magic
It confuses most people and is rarely used. It's just templates, so if someone needs something like that, it can be added to the generated rules. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/templates/template-src-stellaris-make')
-rw-r--r--rules/templates/template-src-stellaris-make13
1 files changed, 1 insertions, 12 deletions
diff --git a/rules/templates/template-src-stellaris-make b/rules/templates/template-src-stellaris-make
index bdf4c5348..a26bd5488 100644
--- a/rules/templates/template-src-stellaris-make
+++ b/rules/templates/template-src-stellaris-make
@@ -27,14 +27,9 @@ endif
#
# Paths and names
#
-ifdef PTXCONF_@PACKAGE@_TRUNK
-@PACKAGE@_VERSION := trunk
-else
@PACKAGE@_VERSION := @VERSION@
-@PACKAGE@_MD5 :=
-endif
@PACKAGE@ := @package@-$(@PACKAGE@_VERSION)
-@PACKAGE@_URL := file://$(PTXDIST_WORKSPACE)/local_src/$(@PACKAGE@)
+@PACKAGE@_URL := file://$(PTXDIST_WORKSPACE)/local_src/@package@
@PACKAGE@_DIR := $(BUILDDIR)/$(@PACKAGE@)
@PACKAGE@_BUILD_OOT := YES
@PACKAGE@_LICENSE := unknown
@@ -47,19 +42,13 @@ endif
# Extract
# ----------------------------------------------------------------------------
-ifdef PTXCONF_@PACKAGE@_TRUNK
$(STATEDIR)/@package@.extract: $(STATEDIR)/autogen-tools
-endif
$(STATEDIR)/@package@.extract:
@$(call targetinfo)
@$(call clean, $(@PACKAGE@_DIR))
@$(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)