mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] memtester: improve build system
@ 2014-06-26 16:13 Markus Niebel
  2014-06-27 11:06 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Niebel @ 2014-06-26 16:13 UTC (permalink / raw)
  To: ptxdist; +Cc: m.olbrich, Markus Niebel

From: Markus Niebel <Markus.Niebel@tq-group.com>

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>
---
 rules/memtester.make |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/memtester.make b/rules/memtester.make
index e83a0b8..01c0071 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)
 
 # ----------------------------------------------------------------------------
-- 
1.7.9.5


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-27 11:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-26 16:13 [ptxdist] [PATCH] memtester: improve build system Markus Niebel
2014-06-27 11:06 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox