diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-09 21:26:12 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-10 15:39:59 +0100 |
commit | dfa0ddfe0ac0c7af7943766a546a505a68185d2f (patch) | |
tree | 28d6f6c0e5c1221a5d2f28b2d87848d57d5e5b34 /rules/ltp-pounder21.make | |
parent | 773e1f9a5431d095bb3df6d3d88ecaa319112088 (diff) | |
download | ptxdist-dfa0ddfe0ac0c7af7943766a546a505a68185d2f.tar.gz ptxdist-dfa0ddfe0ac0c7af7943766a546a505a68185d2f.tar.xz |
[ltp-pounder21] cleanup makefile
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/ltp-pounder21.make')
-rw-r--r-- | rules/ltp-pounder21.make | 46 |
1 files changed, 15 insertions, 31 deletions
diff --git a/rules/ltp-pounder21.make b/rules/ltp-pounder21.make index d8b6dfc88..cff79345b 100644 --- a/rules/ltp-pounder21.make +++ b/rules/ltp-pounder21.make @@ -1,7 +1,7 @@ # -*-makefile-*- -# $Id: template-make 7759 2008-02-12 21:05:07Z mkl $ # -# Copyright (C) 2008 by +# Copyright (C) 2008 by Robert Schwebel <r.schwebel@pengutronix.de> +# (C) 2010 by Michael Olbrich <m.olbrich@pengutronix.de> # # See CREDITS for details about who has contributed to this project. # @@ -17,80 +17,64 @@ PACKAGES-$(PTXCONF_LTP_POUNDER21) += ltp-pounder21 # # Paths and names # -LTP_POUNDER21_VERSION = $(LTP_BASE_VERSION) -LTP_POUNDER21 = ltp-pounder21-$(LTP_BASE_VERSION) +LTP_POUNDER21_VERSION := $(LTP_BASE_VERSION) +LTP_POUNDER21 := ltp-pounder21-$(LTP_BASE_VERSION) LTP_POUNDER21_PKGDIR = $(PKGDIR)/$(LTP_POUNDER21) # ---------------------------------------------------------------------------- # Get # ---------------------------------------------------------------------------- -ltp-pounder21_get: $(STATEDIR)/ltp-pounder21.get - -$(STATEDIR)/ltp-pounder21.get: - @$(call targetinfo, $@) - @$(call touch, $@) - # ---------------------------------------------------------------------------- # Extract # ---------------------------------------------------------------------------- -ltp-pounder21_extract: $(STATEDIR)/ltp-pounder21.extract - $(STATEDIR)/ltp-pounder21.extract: - @$(call targetinfo, $@) - @$(call touch, $@) + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- -ltp-pounder21_prepare: $(STATEDIR)/ltp-pounder21.prepare - $(STATEDIR)/ltp-pounder21.prepare: - @$(call targetinfo, $@) - @$(call touch, $@) + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Compile # ---------------------------------------------------------------------------- -ltp-pounder21_compile: $(STATEDIR)/ltp-pounder21.compile - $(STATEDIR)/ltp-pounder21.compile: - @$(call targetinfo, $@) + @$(call targetinfo) @cd $(LTP_BASE_DIR)/testcases/pounder21; $(LTP_ENV) $(MAKE) $(PARALLELMFLAGS) - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Install # ---------------------------------------------------------------------------- -ltp-pounder21_install: $(STATEDIR)/ltp-pounder21.install - $(STATEDIR)/ltp-pounder21.install: - @$(call targetinfo, $@) + @$(call targetinfo) @mkdir -p $(LTP_POUNDER21_PKGDIR)/bin @ln -sf $(LTP_POUNDER21_PKGDIR)/bin $(LTP_BASE_DIR)/testcases/bin @cd $(LTP_BASE_DIR)/testcases/pounder21; $(LTP_ENV) $(MAKE) $(PARALLELMFLAGS) install @rm $(LTP_BASE_DIR)/testcases/bin - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- -ltp-pounder21_targetinstall: $(STATEDIR)/ltp-pounder21.targetinstall - $(STATEDIR)/ltp-pounder21.targetinstall: - @$(call targetinfo, $@) + @$(call targetinfo) @$(call install_init, ltp-pounder21) @$(call install_fixup, ltp-pounder21,PACKAGE,ltp-pounder21) @$(call install_fixup, ltp-pounder21,PRIORITY,optional) @$(call install_fixup, ltp-pounder21,VERSION,$(LTP_BASE_VERSION)) @$(call install_fixup, ltp-pounder21,SECTION,base) - @$(call install_fixup, ltp-pounder21,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>") + @$(call install_fixup, ltp-pounder21,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>") @$(call install_fixup, ltp-pounder21,DEPENDS,) @$(call install_fixup, ltp-pounder21,DESCRIPTION,missing) @@ -102,7 +86,7 @@ $(STATEDIR)/ltp-pounder21.targetinstall: @$(call install_finish, ltp-pounder21) - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Clean |