From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mediacenter.hi.pengutronix.de ([2001:6f8:1178:2::65]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SGmzR-0003wX-M7 for ptxdist@pengutronix.de; Sun, 08 Apr 2012 09:56:49 +0200 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1SGmzR-0004o5-KK for ptxdist@pengutronix.de; Sun, 08 Apr 2012 09:56:49 +0200 Date: Sun, 8 Apr 2012 09:56:49 +0200 From: Michael Olbrich Message-ID: <20120408075649.GE13585@pengutronix.de> References: <201204061308.53661.jbe@pengutronix.de> <20120408074216.GB13585@pengutronix.de> <20120408074754.GA27980@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20120408074754.GA27980@pengutronix.de> Subject: Re: [ptxdist] [RFC] Improve speex's buildsystem 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 Sun, Apr 08, 2012 at 09:47:54AM +0200, Wolfram Sang wrote: > On Sun, Apr 08, 2012 at 09:42:16AM +0200, Michael Olbrich wrote: > > On Fri, Apr 06, 2012 at 01:08:53PM +0200, Juergen Beisert wrote: > > > Please find below a patch to improve 'speex' buildsystem in various ways. > > > 'speex' comes with many hardware related switches. And as it is a user-land > > > component, sharing the settings in a PTXdist project based on more than one > > > platform with different architectures is (currently) impossible. > > > > > > Also the current rule file is broken, as it depends on a few platform settings > > > which are no longer available since ages. > > > > > > This patch adds some auto-scripts (thanks to Uwe) that are able to read back > > > the important settings from the toolchain. And the result will configure > > > 'speex' automagically in accordance to the architecture's features. > > > > > > These auto-scripts could also be used in other packages, that need > > > architecture specific configuration. And since the use of these auto-scripts > > > depends on an autogen step, PTXdist could provide these auto-scripts as a > > > generic part, instead of patching them into each package (like it is done in > > > this example). > > > > > > Comments are welcome. > > > > When I try to apply this I get an error: > > > > Applying: Improve speex's buildsystem > > fatal: corrupt patch at line 942 > > > > Michael > > No need to quote 50KB for that? Ups, you are of course right. I'm not used to patches quite that big. Sorry. 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