summaryrefslogtreecommitdiffstats
path: root/rules/host-pelts.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-01-09 21:25:52 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-01-10 15:39:50 +0100
commitcc553a749c108555464538c0177f27095dbd5992 (patch)
tree4fee26fd8050516f5be90376fb7c0cdd4a8cb81f /rules/host-pelts.make
parentd0ef860b49e48a24023d72c976c71e8e32fcc7db (diff)
downloadptxdist-cc553a749c108555464538c0177f27095dbd5992.tar.gz
ptxdist-cc553a749c108555464538c0177f27095dbd5992.tar.xz
[host-pelts] cleanup makefile
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-pelts.make')
-rw-r--r--rules/host-pelts.make51
1 files changed, 5 insertions, 46 deletions
diff --git a/rules/host-pelts.make b/rules/host-pelts.make
index badb0ddab..ca46b7c58 100644
--- a/rules/host-pelts.make
+++ b/rules/host-pelts.make
@@ -1,7 +1,7 @@
# -*-makefile-*-
-# $Id$
#
# Copyright (C) 2006 by Robert Schwebel
+# (C) 2010 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
@@ -30,35 +30,25 @@ HOST_PELTS_DIR := $(HOST_BUILDDIR)/$(HOST_PELTS)
# Get
# ----------------------------------------------------------------------------
-host-pelts_get: $(STATEDIR)/host-pelts.get
-
-$(STATEDIR)/host-pelts.get: $(host-pelts_get_deps_default)
- @$(call targetinfo, $@)
- @$(call touch, $@)
-
$(HOST_PELTS_SOURCE):
- @$(call targetinfo, $@)
+ @$(call targetinfo)
@$(call get, HOST_PELTS)
# ----------------------------------------------------------------------------
# Extract
# ----------------------------------------------------------------------------
-host-pelts_extract: $(STATEDIR)/host-pelts.extract
-
-$(STATEDIR)/host-pelts.extract: $(host-pelts_extract_deps_default)
- @$(call targetinfo, $@)
+$(STATEDIR)/host-pelts.extract:
+ @$(call targetinfo)
@$(call clean, $(HOST_PELTS_DIR))
@$(call extract, HOST_PELTS, $(HOST_BUILDDIR))
@$(call patchin, HOST_PELTS, $(HOST_PELTS_DIR))
- @$(call touch, $@)
+ @$(call touch)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
-host-pelts_prepare: $(STATEDIR)/host-pelts.prepare
-
HOST_PELTS_PATH := PATH=$(HOST_PATH)
HOST_PELTS_ENV := $(HOST_ENV)
@@ -67,37 +57,6 @@ HOST_PELTS_ENV := $(HOST_ENV)
#
HOST_PELTS_AUTOCONF := $(HOST_AUTOCONF)
-$(STATEDIR)/host-pelts.prepare: $(host-pelts_prepare_deps_default)
- @$(call targetinfo, $@)
- @$(call clean, $(HOST_PELTS_DIR)/config.cache)
- cd $(HOST_PELTS_DIR) && \
- $(HOST_PELTS_PATH) $(HOST_PELTS_ENV) \
- ./configure $(HOST_PELTS_AUTOCONF)
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Compile
-# ----------------------------------------------------------------------------
-
-host-pelts_compile: $(STATEDIR)/host-pelts.compile
-
-
-$(STATEDIR)/host-pelts.compile: $(host-pelts_compile_deps_default)
- @$(call targetinfo, $@)
- cd $(HOST_PELTS_DIR) && $(HOST_PELTS_ENV) $(HOST_PELTS_PATH) $(MAKE)
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-host-pelts_install: $(STATEDIR)/host-pelts.install
-
-$(STATEDIR)/host-pelts.install: $(host-pelts_install_deps_default)
- @$(call targetinfo, $@)
- @$(call install, HOST_PELTS,,h)
- @$(call touch, $@)
-
# ----------------------------------------------------------------------------
# Clean
# ----------------------------------------------------------------------------