From: Markus Niebel <list-09_ptxdist@tqsc.de>
To: ptxdist@pengutronix.de
Cc: m.olbrich@pengutronix.de, Markus Niebel <Markus.Niebel@tq-group.com>
Subject: [ptxdist] [PATCH] memtester: improve build system
Date: Thu, 26 Jun 2014 18:13:19 +0200 [thread overview]
Message-ID: <1403799199-623-1-git-send-email-list-09_ptxdist@tqsc.de> (raw)
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
next reply other threads:[~2014-06-26 16:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-26 16:13 Markus Niebel [this message]
2014-06-27 11:06 ` Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1403799199-623-1-git-send-email-list-09_ptxdist@tqsc.de \
--to=list-09_ptxdist@tqsc.de \
--cc=Markus.Niebel@tq-group.com \
--cc=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox