diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-13 18:19:18 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-18 10:29:53 +0100 |
commit | 080fc9e9598181124765a5bf4167543f5d2cf33d (patch) | |
tree | 126cdf2ac2480984dc748efbf92b8378fa0b7f27 /rules/host-genpart.make | |
parent | 1ec8c259f67df12b7aaf1e56d8f3686c3f3d377f (diff) | |
download | ptxdist-080fc9e9598181124765a5bf4167543f5d2cf33d.tar.gz ptxdist-080fc9e9598181124765a5bf4167543f5d2cf33d.tar.xz |
[host-genpart] remove obsolete clean target & other cleanups
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-genpart.make')
-rw-r--r-- | rules/host-genpart.make | 57 |
1 files changed, 4 insertions, 53 deletions
diff --git a/rules/host-genpart.make b/rules/host-genpart.make index fec48cf9b..404c7d110 100644 --- a/rules/host-genpart.make +++ b/rules/host-genpart.make @@ -1,5 +1,4 @@ # -*-makefile-*- -# $Id$ # # Copyright (C) 2006 by Robert Schwebel # @@ -28,35 +27,25 @@ HOST_GENPART_DIR := $(HOST_BUILDDIR)/$(HOST_GENPART) # Get # ---------------------------------------------------------------------------- -host-genpart_get: $(STATEDIR)/host-genpart.get - -$(STATEDIR)/host-genpart.get: $(host-genpart_get_deps_default) - @$(call targetinfo, $@) - @$(call touch, $@) - $(HOST_GENPART_SOURCE): - @$(call targetinfo, $@) + @$(call targetinfo) @$(call get, HOST_GENPART) # ---------------------------------------------------------------------------- # Extract # ---------------------------------------------------------------------------- -host-genpart_extract: $(STATEDIR)/host-genpart.extract - -$(STATEDIR)/host-genpart.extract: $(host-genpart_extract_deps_default) - @$(call targetinfo, $@) +$(STATEDIR)/host-genpart.extract: + @$(call targetinfo) @$(call clean, $(HOST_GENPART_DIR)) @$(call extract, HOST_GENPART, $(HOST_BUILDDIR)) @$(call patchin, HOST_GENPART, $(HOST_GENPART_DIR)) - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- -host-genpart_prepare: $(STATEDIR)/host-genpart.prepare - HOST_GENPART_PATH := PATH=$(HOST_PATH) HOST_GENPART_ENV := $(HOST_ENV) @@ -65,42 +54,4 @@ HOST_GENPART_ENV := $(HOST_ENV) # HOST_GENPART_AUTOCONF := $(HOST_AUTOCONF) -$(STATEDIR)/host-genpart.prepare: $(host-genpart_prepare_deps_default) - @$(call targetinfo, $@) - @$(call clean, $(HOST_GENPART_DIR)/config.cache) - cd $(HOST_GENPART_DIR) && \ - $(HOST_GENPART_PATH) $(HOST_GENPART_ENV) \ - ./configure $(HOST_GENPART_AUTOCONF) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Compile -# ---------------------------------------------------------------------------- - -host-genpart_compile: $(STATEDIR)/host-genpart.compile - -$(STATEDIR)/host-genpart.compile: $(host-genpart_compile_deps_default) - @$(call targetinfo, $@) - cd $(HOST_GENPART_DIR) && $(HOST_GENPART_PATH) $(MAKE) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Install -# ---------------------------------------------------------------------------- - -host-genpart_install: $(STATEDIR)/host-genpart.install - -$(STATEDIR)/host-genpart.install: $(host-genpart_install_deps_default) - @$(call targetinfo, $@) - @$(call install, HOST_GENPART,,h) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Clean -# ---------------------------------------------------------------------------- - -host-genpart_clean: - rm -rf $(STATEDIR)/host-genpart.* - rm -rf $(HOST_GENPART_DIR) - # vim: syntax=make |