From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay05.ispgateway.de ([80.67.31.99]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1S2zsb-0006QW-OE for ptxdist@pengutronix.de; Thu, 01 Mar 2012 07:53:05 +0100 Received: from [93.104.143.8] (helo=euler.fritz.box) by smtprelay05.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1S2zsb-0006rS-3x for ptxdist@pengutronix.de; Thu, 01 Mar 2012 07:52:45 +0100 Message-ID: <4F4F1CBC.9060607@bwalle.de> Date: Thu, 01 Mar 2012 07:52:44 +0100 From: Bernhard Walle MIME-Version: 1.0 References: In-Reply-To: Subject: Re: [ptxdist] How to patch a rule file 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 Am 24.02.12 18:20, schrieb Robert Palmer: > I've searched the archives (unfortunately "patch" is VERY common) > and I read the "How to become a PTXdist Guru" from the pengutronix > web site. In section 4.1.2 patch series, it gives an overview of > patching and it then list the search order, giving FOUR cases. > The last case is "bug fixing" and it goes on to describe that this > case is intended for patching rules in the PTXdist rule files. > This is EXACTLY what I need to do, unfortunately, that's the last > thing is says about this case. > > specifically, I'm using ptxdist-2010.08.0 and GNU Make v3.82. > I'm trying to build the OSELAS toolchain, so I'm working with > that as the "project" directory > > in the ptxdist rules there is apache2.make which needs to be > patched to run under Make v3.82 (there is a missing line > continuation character) > > I have tried building a patch in my toolchain (project) /patches folder > > a) naming the patch folder (package) 'apache2' > -- matching the rule name found in ptxdist/rules > b) naming the folder 'httpd-2.0.58' > -- matching the package name as described in the rule makefile You can't patch the rules file. Just copy it to your project, it overwrites the default one. Regards, Bernhard -- ptxdist mailing list ptxdist@pengutronix.de