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
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.
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
No comments:
Post a Comment