From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1X0Tyt-0001CC-Sq for ptxdist@pengutronix.de; Fri, 27 Jun 2014 13:06:11 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1X0Tyt-0003Dw-R9 for ptxdist@pengutronix.de; Fri, 27 Jun 2014 13:06:11 +0200 Date: Fri, 27 Jun 2014 13:06:11 +0200 From: Michael Olbrich Message-ID: <20140627110611.GA12903@pengutronix.de> References: <1403799199-623-1-git-send-email-list-09_ptxdist@tqsc.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1403799199-623-1-git-send-email-list-09_ptxdist@tqsc.de> Subject: Re: [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: , 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 On Thu, Jun 26, 2014 at 06:13:19PM +0200, Markus Niebel wrote: > 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 Thanks, applied. Michael > > 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 > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de