Monday, 2 March 2015

Re: [gccsdk] Autobuilder patches

Thanks Theo

On 03/03/2015 00:01, Theo Markettos wrote:
On Mon, Mar 02, 2015 at 10:05:24PM +0000, John Ballance wrote:  
thats most helpful, thanks, ad covers where there is a patch to an  existing file. However, I need to add a new file. How do i do that  please?  
  You can do two things (I think, it's been a while since I did this):    Use diff --new-file (or -N) to include the new file in the patch  or  Add a line to the autobuilder/libraries/libfoo/setvars file that  that does:  cp $H/newfile.c $S/some/desti/nation/newfile.c
I missed this
    Which is preferable rather depends - the patch will get applied  automatically and can bundle up changes related to the new file, while cp is  cleaner if you need a new file and nothing else.    BTW, have you seen:  http://www.riscos.info/index.php/Autobuilder_Development_and_Packaging  which explains roughly what the autobuilder is about.

Yes.. sort of showed the way, but (unless I'm blind) only covered patches, not whole file replacements.

John

    Theo    _______________________________________________  GCCSDK mailing list gcc@gccsdk.riscos.info  Bugzilla: http://www.riscos.info/bugzilla/index.cgi  List Info: http://www.riscos.info/mailman/listinfo/gcc  Main Page: http://www.riscos.info/index.php/GCCSDK    

--
Stop press! Just announced -

Free Standard Broadband for 6 months, unlimited data, and no minimum contract

For full details of see http://www.JustAskJB.co.uk

Intrigued? Call me

John Ballance C.Eng MIET - jwb@macpcrepair.co.uk - 07976 295923

No comments:

Post a Comment