# HG changeset patch # User Rob Landley # Date 1231327229 21600 # Node ID 5619a7375b7458b7a47e0263129d83a795e30a7d # Parent 7a820e5c8ca569c1bc89f953ec398c3df5836c2b Add NO_CLEANUP option to config. diff -r 7a820e5c8ca5 -r 5619a7375b74 config --- a/config Tue Jan 06 02:13:29 2009 -0600 +++ b/config Wed Jan 07 05:20:29 2009 -0600 @@ -31,9 +31,13 @@ # export USE_TOYBOX=1 -# Try development versions of these packages +# Try development versions of these packages. (Know what you're doing if +# you select these, it's quite possible the result won't work.) -# export USE_UNSTABLE=uClibc,busybox,toybox +# export USE_UNSTABLE=uClibc,busybox,toybox,linux,binutils,make,gcc-core,gcc-g++ + +# Debugging option to leave source in build/temp-$ARCH after build. +# export NO_CLEANUP=1 # If this is set, the output of the various stages will be color coded. # export USE_COLOR=1 diff -r 7a820e5c8ca5 -r 5619a7375b74 sources/functions.sh --- a/sources/functions.sh Tue Jan 06 02:13:29 2009 -0600 +++ b/sources/functions.sh Wed Jan 07 05:20:29 2009 -0600 @@ -27,6 +27,12 @@ [ $? -ne 0 ] && dienow + if [ ! -z "$NO_CLEANUP" ] + then + echo "skip cleanup $@" + return + fi + for i in "$@" do unstable "$i" && i="$PACKAGE"