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 1TdLzm-0005Wx-Kh for ptxdist@pengutronix.de; Tue, 27 Nov 2012 15:18:42 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1TdLzm-0004aX-K5 for ptxdist@pengutronix.de; Tue, 27 Nov 2012 15:18:42 +0100 Date: Tue, 27 Nov 2012 15:18:42 +0100 From: Michael Olbrich Message-ID: <20121127141842.GD10460@pengutronix.de> References: <20121127122445.GC10460@pengutronix.de> <82aead2c9b94d51fbde156e74831b5e1@idefix.lespocky.dyndns.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <82aead2c9b94d51fbde156e74831b5e1@idefix.lespocky.dyndns.org> Subject: Re: [ptxdist] [ANNOUNCE] PTXdist 2012.11.0 released 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 Hi, On Tue, Nov 27, 2012 at 01:44:14PM +0100, Alexander Dahl wrote: > Am 2012-11-27 13:24, schrieb Michael Olbrich: > > What we changed was the handling of additional compiler and linker flags. > > In the past we've tried to pass these flags through the build-systems of > > the individual packages. This was always a lot of work and wasn't very > > reliable. Now the compiler and linker a wrapper scripts that insert the > > necessary flags before calling the real tool. > > This should make writing rules much easier, especially for packages with > > hand-written Makefiles. > > Is it necessary to change any existing rules? In most cases that is not necessary. You might be able to clean things up a bit, but keeping it as it is should not hurt. There are a few exceptions: e.g. dhex has "-I/usr/include" (I think) in its default CPPFLAGS. $(CROSS_ENV) does not set this anymore so I had to explicitly add CPPFLAGS="" to overwrite the default. Michael -- 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