summaryrefslogtreecommitdiffstats
path: root/rules/templates
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-01-03 19:33:35 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-01-03 19:33:35 +0100
commit4c45a77f57748457224ee9c76396231a34620c51 (patch)
treef56d24837f78594fce587fc3787322ba1c9781bf /rules/templates
parentba7502b5fc3ff979d5ad9982bebb9c8a59014063 (diff)
downloadptxdist-4c45a77f57748457224ee9c76396231a34620c51.tar.gz
ptxdist-4c45a77f57748457224ee9c76396231a34620c51.tar.xz
[template-src-make-prog] cleanup
needs a version too. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/templates')
-rw-r--r--rules/templates/template-src-make-prog-make47
1 files changed, 20 insertions, 27 deletions
diff --git a/rules/templates/template-src-make-prog-make b/rules/templates/template-src-make-prog-make
index b882425d4..22edcaf05 100644
--- a/rules/templates/template-src-make-prog-make
+++ b/rules/templates/template-src-make-prog-make
@@ -23,52 +23,46 @@ PACKAGES-$(PTXCONF_@PACKAGE@) += @package@
@PACKAGE@_LICENSE := unknown
# ----------------------------------------------------------------------------
-# Get
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/@package@.get:
- @$(call targetinfo)
- @$(call touch)
-
-# ----------------------------------------------------------------------------
# Extract
# ----------------------------------------------------------------------------
-$(STATEDIR)/@package@.extract:
- @$(call targetinfo)
- @$(call clean, $(@PACKAGE@_DIR))
- @$(call extract, @PACKAGE@)
- @$(call patchin, @PACKAGE@)
- @$(call touch)
+#$(STATEDIR)/@package@.extract:
+# @$(call targetinfo)
+# @$(call clean, $(@PACKAGE@_DIR))
+# @$(call extract, @PACKAGE@)
+# @$(call patchin, @PACKAGE@)
+# @$(call touch)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
#@PACKAGE@_PATH := PATH=$(CROSS_PATH)
-@PACKAGE@_ENV := $(CROSS_ENV)
+@PACKAGE@_CONF_TOOL := NO
+@PACKAGE@_MAKE_ENV := $(CROSS_ENV)
-$(STATEDIR)/@package@.prepare:
- @$(call targetinfo)
- @$(call touch)
+#$(STATEDIR)/@package@.prepare:
+# @$(call targetinfo)
+# @$(call world/prepare, @PACKAGE@)
+# @$(call touch)
# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------
-$(STATEDIR)/@package@.compile:
- @$(call targetinfo)
- cd $(@PACKAGE@_DIR) && \
- $(@PACKAGE@_ENV) $(@PACKAGE@_PATH) $(MAKE) #$(PARALLELMFLAGS)
- @$(call touch)
+#$(STATEDIR)/@package@.compile:
+# @$(call targetinfo)
+# @$(call world/compile, @PACKAGE@)
+# @$(call touch)
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
-$(STATEDIR)/@package@.install:
- @$(call targetinfo)
- @$(call touch)
+#$(STATEDIR)/@package@.install:
+# @$(call targetinfo)
+# @$(call world/install, @PACKAGE@)
+# @$(call touch)
# ----------------------------------------------------------------------------
# Target-Install
@@ -88,7 +82,6 @@ $(STATEDIR)/@package@.targetinstall:
# Note: Add everything before(!) call to macro install_finish
#
@$(call install_copy, @package@, 0, 0, 0755, $(@PACKAGE@_DIR)/@package@, /usr/bin/@package@)
- @$(call install_copy, @package@, 0, 0, 0755, $(@PACKAGE@_DIR)/foobar, /dev/null)
@$(call install_finish, @package@)