mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] How to patch a rule file
@ 2012-02-24 17:20 Robert Palmer
  2012-02-29 22:05 ` Jerry Kirk
  2012-03-01  6:52 ` Bernhard Walle
  0 siblings, 2 replies; 3+ messages in thread
From: Robert Palmer @ 2012-02-24 17:20 UTC (permalink / raw)
  To: ptxdist

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

Neither case seems to even attempt to execute the patch

Any assistance on this would be greatly appreciated


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] How to patch a rule file
  2012-02-24 17:20 [ptxdist] How to patch a rule file Robert Palmer
@ 2012-02-29 22:05 ` Jerry Kirk
  2012-03-01  6:52 ` Bernhard Walle
  1 sibling, 0 replies; 3+ messages in thread
From: Jerry Kirk @ 2012-02-29 22:05 UTC (permalink / raw)
  To: ptxdist

This is a question I am faced with as well, I'd like to vote this question up.



-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] How to patch a rule file
  2012-02-24 17:20 [ptxdist] How to patch a rule file Robert Palmer
  2012-02-29 22:05 ` Jerry Kirk
@ 2012-03-01  6:52 ` Bernhard Walle
  1 sibling, 0 replies; 3+ messages in thread
From: Bernhard Walle @ 2012-03-01  6:52 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-01  6:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-24 17:20 [ptxdist] How to patch a rule file Robert Palmer
2012-02-29 22:05 ` Jerry Kirk
2012-03-01  6:52 ` Bernhard Walle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox