From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Markus Niebel Date: Thu, 26 Jun 2014 18:13:19 +0200 Message-Id: <1403799199-623-1-git-send-email-list-09_ptxdist@tqsc.de> Subject: [ptxdist] [PATCH] memtester: improve build system Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: m.olbrich@pengutronix.de, Markus Niebel From: Markus Niebel 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 Signed-off-by: Markus Niebel --- 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