aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2014-09-11 00:04:37 -0500
committerRob Landley <rob@landley.net>2014-09-11 00:04:37 -0500
commit09af6a7d3f5076b52a89a4be5cebebdb9c9d00c8 (patch)
treef3a9d8cbb125ec912a2f72fd274252bad471c211 /scripts
parentf8c411cc26460d1cc920c15ad9e57d994f072129 (diff)
downloadtoybox-09af6a7d3f5076b52a89a4be5cebebdb9c9d00c8.tar.gz
Oops, unbreak make.sh.
Clearing out old .o files needs -r now that generated/obj has its own subdirectory. (Works if you make clean between, but shouldn't need it.)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/make.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/make.sh b/scripts/make.sh
index d51409af..34c1db51 100755
--- a/scripts/make.sh
+++ b/scripts/make.sh
@@ -172,7 +172,7 @@ LINK="$LDOPTIMIZE -o toybox_unstripped -Wl,--as-needed $(cat generated/optlibs.d
# This is a parallel version of: do_loudly $BUILD $FILES $LINK || exit 1
-rm -f generated/obj && mkdir -p generated/obj || exit 1
+rm -rf generated/obj && mkdir -p generated/obj || exit 1
PENDING=
for i in $FILES
do