summaryrefslogtreecommitdiffstats
path: root/rules/host-dtc.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-01-09 21:25:46 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-01-10 15:39:03 +0100
commit97d268d8794b7777e12e54b15e51b4745060ac7b (patch)
tree7e2eabe5026962719af279c33f8c63adc9135eee /rules/host-dtc.make
parent373d141df5339026b166b452af13fc4481d58429 (diff)
downloadptxdist-97d268d8794b7777e12e54b15e51b4745060ac7b.tar.gz
ptxdist-97d268d8794b7777e12e54b15e51b4745060ac7b.tar.xz
[host-dtc] cleanup makefile
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-dtc.make')
-rw-r--r--rules/host-dtc.make43
1 files changed, 8 insertions, 35 deletions
diff --git a/rules/host-dtc.make b/rules/host-dtc.make
index 6dee5c608..020fdae3b 100644
--- a/rules/host-dtc.make
+++ b/rules/host-dtc.make
@@ -1,7 +1,7 @@
# -*-makefile-*-
-# $Id$
#
# Copyright (C) 2007 by Sascha Hauer
+# (C) 2010 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
@@ -28,63 +28,36 @@ HOST_DTC_DIR := $(HOST_BUILDDIR)/$(HOST_DTC)
# Get
# ----------------------------------------------------------------------------
-host-dtc_get: $(STATEDIR)/host-dtc.get
-
-$(STATEDIR)/host-dtc.get: $(host-dtc_get_deps_default)
- @$(call targetinfo, $@)
- @$(call touch, $@)
-
$(HOST_DTC_SOURCE):
- @$(call targetinfo, $@)
+ @$(call targetinfo)
@$(call get, HOST_DTC)
# ----------------------------------------------------------------------------
# Extract
# ----------------------------------------------------------------------------
-host-dtc_extract: $(STATEDIR)/host-dtc.extract
-
-$(STATEDIR)/host-dtc.extract: $(host-dtc_extract_deps_default)
- @$(call targetinfo, $@)
+$(STATEDIR)/host-dtc.extract:
+ @$(call targetinfo)
@$(call clean, $(HOST_DTC_DIR))
@$(call extract, HOST_DTC, $(HOST_BUILDDIR))
@$(call patchin, HOST_DTC, $(HOST_DTC_DIR))
- @$(call touch, $@)
+ @$(call touch)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
-host-dtc_prepare: $(STATEDIR)/host-dtc.prepare
-
HOST_DTC_PATH := PATH=$(HOST_PATH)
HOST_DTC_ENV := $(HOST_ENV)
-$(STATEDIR)/host-dtc.prepare: $(host-dtc_prepare_deps_default)
- @$(call targetinfo, $@)
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Compile
-# ----------------------------------------------------------------------------
-
-host-dtc_compile: $(STATEDIR)/host-dtc.compile
-
-$(STATEDIR)/host-dtc.compile: $(host-dtc_compile_deps_default)
- @$(call targetinfo, $@)
- cd $(HOST_DTC_DIR) && $(HOST_DTC_PATH) $(MAKE) $(PARALLELMFLAGS)
- @$(call touch, $@)
-
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
-host-dtc_install: $(STATEDIR)/host-dtc.install
-
-$(STATEDIR)/host-dtc.install: $(host-dtc_install_deps_default)
- @$(call targetinfo, $@)
+$(STATEDIR)/host-dtc.install:
+ @$(call targetinfo)
cp $(HOST_DTC_DIR)/dtc $(PTXCONF_SYSROOT_HOST)/bin/dtc
- @$(call touch, $@)
+ @$(call touch)
# ----------------------------------------------------------------------------
# Clean