From cc553a749c108555464538c0177f27095dbd5992 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Sat, 9 Jan 2010 21:25:52 +0100 Subject: [host-pelts] cleanup makefile Signed-off-by: Michael Olbrich --- rules/host-pelts.make | 51 +++++---------------------------------------------- 1 file changed, 5 insertions(+), 46 deletions(-) (limited to 'rules/host-pelts.make') 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 # # 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 # ---------------------------------------------------------------------------- -- cgit v1.2.3