diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-03-03 11:33:38 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-03-03 11:49:04 +0100 |
commit | 80b41b7159fc37d8e0eb55a8aacf8b83c6a98974 (patch) | |
tree | 2d58e7d237e5d6b17a93d2af310516657b7304c9 /rules/templates/template-src-stellaris-make | |
parent | b1167cb1c20f7d7e1199cb307d70db75f18c6bb5 (diff) | |
download | ptxdist-80b41b7159fc37d8e0eb55a8aacf8b83c6a98974.tar.gz ptxdist-80b41b7159fc37d8e0eb55a8aacf8b83c6a98974.tar.xz |
[templates] cleanup
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-make | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/rules/templates/template-src-stellaris-make b/rules/templates/template-src-stellaris-make index e35417b10..ed9874974 100644 --- a/rules/templates/template-src-stellaris-make +++ b/rules/templates/template-src-stellaris-make @@ -27,10 +27,11 @@ endif # # Paths and names # -@PACKAGE@_VERSION := trunk +@PACKAGE@_VERSION := @VERSION@ @PACKAGE@ := @package@-$(@PACKAGE@_VERSION) -@PACKAGE@_SRCDIR := $(PTXDIST_WORKSPACE)/local_src/$(@PACKAGE@) +@PACKAGE@_URL := file://$(PTXDIST_WORKSPACE)/local_src/$(@PACKAGE@) @PACKAGE@_DIR := $(BUILDDIR)/$(@PACKAGE@) +@PACKAGE@_BUILD_OOT := YES @PACKAGE@_LICENSE := unknown # ---------------------------------------------------------------------------- @@ -44,11 +45,11 @@ endif $(STATEDIR)/@package@.extract: @$(call targetinfo) @$(call clean, $(@PACKAGE@_DIR)) + @$(call extract, @PACKAGE@) ifdef PTXCONF_@PACKAGE@_TRUNK - cd $(@PACKAGE@_SRCDIR) && sh autogen.sh + cd $(@PACKAGE@_DIR) && sh autogen.sh endif - @$(call patchin, @PACKAGE@, $(@PACKAGE@_SRCDIR)) - mkdir -p $(@PACKAGE@_DIR) + @$(call patchin, @PACKAGE@) @$(call touch) # ---------------------------------------------------------------------------- @@ -61,7 +62,8 @@ endif # # autoconf # -@PACKAGE@_AUTOCONF = \ +@PACKAGE@_CONF_TOOL := autoconf +@PACKAGE@_CONF_OPT := \ --host=arm-cortexm3-eabi \ --build=i686-unknown-linux-gnu \ --with-stellaris-sdk=$(SW_EK_LM3S3748_DIR) \ @@ -69,9 +71,7 @@ endif #$(STATEDIR)/@package@.prepare: # @$(call targetinfo) -# @$(call clean, $(@PACKAGE@_DIR)/config.cache) -# cd $(@PACKAGE@_DIR) && \ -# $(@PACKAGE@_PATH) $(@PACKAGE@_SRCDIR)/configure $(@PACKAGE@_AUTOCONF) +# @$(call world/prepare, @PACKAGE@) # @$(call touch) # ---------------------------------------------------------------------------- @@ -99,9 +99,9 @@ $(STATEDIR)/@package@.targetinstall: @$(call targetinfo) @$(call install_init, @package@) - @$(call install_fixup, @package@, PACKAGE, @package@) + @$(call install_fixup, @package@, PACKAGE, @packagedash@) @$(call install_fixup, @package@, PRIORITY, optional) - @$(call install_fixup, @package@, VERSION, trunk) + @$(call install_fixup, @package@, VERSION, $(@PACKAGE@_VERSION)) @$(call install_fixup, @package@, SECTION, base) @$(call install_fixup, @package@, AUTHOR, "@AUTHOR@") @$(call install_fixup, @package@, DEPENDS,) |