diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-09 21:26:08 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-01-10 15:39:57 +0100 |
commit | cc70b9540e78bd87c021dcc88f289dafdb36fdd5 (patch) | |
tree | 0075266424815b5795509831e8157b39f1bb8f1d /rules/ltp-ballista.make | |
parent | 2d637365858cb3c4f08aee109d634cc7e2588e2c (diff) | |
download | ptxdist-cc70b9540e78bd87c021dcc88f289dafdb36fdd5.tar.gz ptxdist-cc70b9540e78bd87c021dcc88f289dafdb36fdd5.tar.xz |
[ltp-ballista] cleanup makefile
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/ltp-ballista.make')
-rw-r--r-- | rules/ltp-ballista.make | 46 |
1 files changed, 15 insertions, 31 deletions
diff --git a/rules/ltp-ballista.make b/rules/ltp-ballista.make index afd33e8c2..3a42cd1b0 100644 --- a/rules/ltp-ballista.make +++ b/rules/ltp-ballista.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_BALLISTA) += ltp-ballista # # Paths and names # -LTP_BALLISTA_VERSION = $(LTP_BASE_VERSION) -LTP_BALLISTA = ltp-ballista-$(LTP_BASE_VERSION) +LTP_BALLISTA_VERSION := $(LTP_BASE_VERSION) +LTP_BALLISTA := ltp-ballista-$(LTP_BASE_VERSION) LTP_BALLISTA_PKGDIR = $(PKGDIR)/$(LTP_BALLISTA) # ---------------------------------------------------------------------------- # Get # ---------------------------------------------------------------------------- -ltp-ballista_get: $(STATEDIR)/ltp-ballista.get - -$(STATEDIR)/ltp-ballista.get: - @$(call targetinfo, $@) - @$(call touch, $@) - # ---------------------------------------------------------------------------- # Extract # ---------------------------------------------------------------------------- -ltp-ballista_extract: $(STATEDIR)/ltp-ballista.extract - $(STATEDIR)/ltp-ballista.extract: - @$(call targetinfo, $@) - @$(call touch, $@) + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- -ltp-ballista_prepare: $(STATEDIR)/ltp-ballista.prepare - $(STATEDIR)/ltp-ballista.prepare: - @$(call targetinfo, $@) - @$(call touch, $@) + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Compile # ---------------------------------------------------------------------------- -ltp-ballista_compile: $(STATEDIR)/ltp-ballista.compile - $(STATEDIR)/ltp-ballista.compile: - @$(call targetinfo, $@) + @$(call targetinfo) @cd $(LTP_BASE_DIR)/testcases/ballista; $(LTP_ENV) $(MAKE) $(PARALLELMFLAGS) - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Install # ---------------------------------------------------------------------------- -ltp-ballista_install: $(STATEDIR)/ltp-ballista.install - $(STATEDIR)/ltp-ballista.install: - @$(call targetinfo, $@) + @$(call targetinfo) @mkdir -p $(LTP_BALLISTA_PKGDIR)/bin @ln -sf $(LTP_BALLISTA_PKGDIR)/bin $(LTP_BASE_DIR)/testcases/bin @cd $(LTP_BASE_DIR)/testcases/ballista; $(LTP_ENV) $(MAKE) $(PARALLELMFLAGS) install @rm $(LTP_BASE_DIR)/testcases/bin - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- -ltp-ballista_targetinstall: $(STATEDIR)/ltp-ballista.targetinstall - $(STATEDIR)/ltp-ballista.targetinstall: - @$(call targetinfo, $@) + @$(call targetinfo) @$(call install_init, ltp-ballista) @$(call install_fixup, ltp-ballista,PACKAGE,ltp-ballista) @$(call install_fixup, ltp-ballista,PRIORITY,optional) @$(call install_fixup, ltp-ballista,VERSION,$(LTP_BASE_VERSION)) @$(call install_fixup, ltp-ballista,SECTION,base) - @$(call install_fixup, ltp-ballista,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>") + @$(call install_fixup, ltp-ballista,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>") @$(call install_fixup, ltp-ballista,DEPENDS,) @$(call install_fixup, ltp-ballista,DESCRIPTION,missing) @@ -102,7 +86,7 @@ $(STATEDIR)/ltp-ballista.targetinstall: @$(call install_finish, ltp-ballista) - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Clean |