summaryrefslogtreecommitdiffstats
path: root/rules/memtester.make
diff options
context:
space:
mode:
authorMarkus Niebel <Markus.Niebel@tq-group.com>2014-06-26 18:13:19 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-06-26 18:51:09 +0200
commite97f82b029fb6fd8c5f2f2b4999d459860c65150 (patch)
tree928e28047fcaa3b58b1f08b5e5ecb3eda77f3090 /rules/memtester.make
parent1719f9b89348d593756bb962fe16375b0169d849 (diff)
downloadptxdist-e97f82b029fb6fd8c5f2f2b4999d459860c65150.tar.gz
ptxdist-e97f82b029fb6fd8c5f2f2b4999d459860c65150.tar.xz
memtester: improve build system
This package uses a unusual build system. Improve the prepare stage so that we can use the provided Makefiles and scripts instead of generating a simple Makefile without optimisation and othe useful compiler flags. This solution was suggested by Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/memtester.make')
-rw-r--r--rules/memtester.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/memtester.make b/rules/memtester.make
index e83a0b8c4..01c007193 100644
--- a/rules/memtester.make
+++ b/rules/memtester.make
@@ -35,7 +35,7 @@ MEMTESTER_COMPILE_ENV := $(CROSS_ENV)
$(STATEDIR)/memtester.prepare:
@$(call targetinfo)
- @echo "memtester: tests.o memtester.o" > $(MEMTESTER_DIR)/Makefile
+ @sed -i 's/^cc\>/$(CROSS_CC)/' $(MEMTESTER_DIR)/conf-cc $(MEMTESTER_DIR)/conf-ld
@$(call touch)
# ----------------------------------------------------------------------------