From: Markus Niebel <[email protected]>

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 <[email protected]>

Signed-off-by: Markus Niebel <[email protected]>
---
 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
[email protected]

Reply via email to