diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-13 18:19:17 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-18 10:29:53 +0100 |
commit | 60f2b883d6fb0f9616c40642fbbb104349bd30bc (patch) | |
tree | 5817c8ca14b6cb342b4993c55387630cbb8883a3 /rules/timezone.make | |
parent | d1b3c73544bdd976835a260587fbbd3207c0c471 (diff) | |
download | ptxdist-60f2b883d6fb0f9616c40642fbbb104349bd30bc.tar.gz ptxdist-60f2b883d6fb0f9616c40642fbbb104349bd30bc.tar.xz |
[timezone] remove obsolete clean target & other cleanups
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/timezone.make')
-rw-r--r-- | rules/timezone.make | 38 |
1 files changed, 12 insertions, 26 deletions
diff --git a/rules/timezone.make b/rules/timezone.make index 0115cd7ca..f9c5f2e4f 100644 --- a/rules/timezone.make +++ b/rules/timezone.make @@ -1,5 +1,4 @@ # -*-makefile-*- -# $Id: template 6655 2007-01-02 12:55:21Z rsc $ # # Copyright (C) 2007 by Luotao Fu <l.fu@pengutronix.de> # @@ -84,12 +83,8 @@ TIMEZONE-$(PTXCONF_TIMEZONE_UNIVERSAL) += "Universal" # Get # ---------------------------------------------------------------------------- -$(STATEDIR)/timezone.get: - @$(call targetinfo, $@) - @$(call touch, $@) - $(TIMEZONE_SOURCE): - @$(call targetinfo, $@) + @$(call targetinfo) @$(call get, TIMEZONE) # ---------------------------------------------------------------------------- @@ -97,48 +92,48 @@ $(TIMEZONE_SOURCE): # ---------------------------------------------------------------------------- $(STATEDIR)/timezone.extract: - @$(call targetinfo, $@) + @$(call targetinfo) @$(call clean, $(TIMEZONE_DIR)) @mkdir -p $(TIMEZONE_DIR) - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- $(STATEDIR)/timezone.prepare: - @$(call targetinfo, $@) - @$(call touch, $@) + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Compile # ---------------------------------------------------------------------------- $(STATEDIR)/timezone.compile: - @$(call targetinfo, $@) - @$(call touch, $@) + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Install # ---------------------------------------------------------------------------- $(STATEDIR)/timezone.install: - @$(call targetinfo, $@) - @$(call touch, $@) + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- $(STATEDIR)/timezone.targetinstall: - @$(call targetinfo, $@) + @$(call targetinfo) @$(call install_init, timezone) @$(call install_fixup, timezone,PACKAGE,timezone) @$(call install_fixup, timezone,PRIORITY,optional) @$(call install_fixup, timezone,VERSION,$(TIMEZONE_VERSION)) @$(call install_fixup, timezone,SECTION,base) - @$(call install_fixup, timezone,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>") + @$(call install_fixup, timezone,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>") @$(call install_fixup, timezone,DEPENDS,) @$(call install_fixup, timezone,DESCRIPTION,missing) @@ -161,15 +156,6 @@ endif @$(call install_finish, timezone) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Clean -# ---------------------------------------------------------------------------- - -timezone_clean: - rm -rf $(STATEDIR)/timezone.* - rm -rf $(PKGDIR)/timezone_* - rm -rf $(TIMEZONE_DIR) + @$(call touch) # vim: syntax=make |