summaryrefslogtreecommitdiffstats
path: root/rules/memtester.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-07-25 20:35:59 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-07-26 17:52:16 +0200
commit040213f7ad8158874ae79ced0b5b672933fb5065 (patch)
tree6b7a78c480cc75a9aefb5ba1d1e8ba75f28872cc /rules/memtester.make
parentc86c0c6aea0a36cc184efb4d383bfc14f1b9e802 (diff)
downloadptxdist-040213f7ad8158874ae79ced0b5b672933fb5065.tar.gz
ptxdist-040213f7ad8158874ae79ced0b5b672933fb5065.tar.xz
[memtester] just cleanups
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/memtester.make')
-rw-r--r--rules/memtester.make20
1 files changed, 5 insertions, 15 deletions
diff --git a/rules/memtester.make b/rules/memtester.make
index 5e0f2c24c..58732fc31 100644
--- a/rules/memtester.make
+++ b/rules/memtester.make
@@ -1,7 +1,7 @@
# -*-makefile-*-
-# $Id: template 2922 2005-07-11 19:17:53Z rsc $
#
# Copyright (C) 2005 by Sascha Hauer
+# 2009 by Marc Kleine-Budde <mkl@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
@@ -37,22 +37,12 @@ $(MEMTESTER_SOURCE):
# Prepare
# ----------------------------------------------------------------------------
-MEMTESTER_PATH := PATH=$(CROSS_PATH)
-MEMTESTER_ENV := $(CROSS_ENV)
+MEMTESTER_PATH := PATH=$(CROSS_PATH)
+MEMTESTER_COMPILE_ENV := $(CROSS_ENV)
$(STATEDIR)/memtester.prepare:
@$(call targetinfo)
- echo "all: memtester" > $(MEMTESTER_DIR)/Makefile.ptxdist
- echo "memtester: tests.o memtester.o" >> $(MEMTESTER_DIR)/Makefile.ptxdist
- @$(call touch)
-
-# ----------------------------------------------------------------------------
-# Compile
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/memtester.compile:
- @$(call targetinfo)
- cd $(MEMTESTER_DIR) && $(MEMTESTER_ENV) $(MEMTESTER_PATH) make -f Makefile.ptxdist
+ @echo "memtester: tests.o memtester.o" > $(MEMTESTER_DIR)/Makefile
@$(call touch)
# ----------------------------------------------------------------------------
@@ -75,7 +65,7 @@ $(STATEDIR)/memtester.targetinstall:
@$(call install_fixup, memtester,PRIORITY,optional)
@$(call install_fixup, memtester,VERSION,$(MEMTESTER_VERSION))
@$(call install_fixup, memtester,SECTION,base)
- @$(call install_fixup, memtester,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>")
+ @$(call install_fixup, memtester,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
@$(call install_fixup, memtester,DEPENDS,)
@$(call install_fixup, memtester,DESCRIPTION,missing)