On Fri, Feb 17, 2006 at 09:24:34AM +0000, Nick Hudson wrote:
> On Friday 17 February 2006 08:58, Adam wrote:
> > Greetings,
> >
> > Would there be much work to add 'clean' target to build.sh?
> > I ofter cross-build NetBSD using the script, but it is difficult to
> > clean the build afterwards (MACHINE and MACHINE_ARCH are different,
> > so 'make clean' won't remove all the files).
>
> Use $TOOLDIR/bin/nbmake-${MACHINE} clean
or do:
base=`(cd ..;/bin/pwd)`
build.sh ... -O $base/obj
then you can just 'rm -rf obj'
David
--
David Laight: david@l8s.co.uk