aboutsummaryrefslogtreecommitdiff
path: root/scripts/make.sh
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-09-06 21:22:50 -0500
committerRob Landley <rob@landley.net>2019-09-06 21:22:50 -0500
commit3356140fd2d6f15b119ca98b4d7ff969a764cee6 (patch)
tree68a4722ff1749fa42b06673526146dab97c53732 /scripts/make.sh
parent7ea6dee59b5f7ee13fdd3f52e6ee99b17ad07647 (diff)
downloadtoybox-3356140fd2d6f15b119ca98b4d7ff969a764cee6.tar.gz
Add cross.sh to cross compile for one or more targets, and tweak make.sh to
produce different output names for different ${TARGET}s.
Diffstat (limited to 'scripts/make.sh')
-rwxr-xr-xscripts/make.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/make.sh b/scripts/make.sh
index 540199b6..ec908ce1 100755
--- a/scripts/make.sh
+++ b/scripts/make.sh
@@ -15,7 +15,7 @@ set -o pipefail
source scripts/portability.sh
[ -z "$KCONFIG_CONFIG" ] && KCONFIG_CONFIG=.config
-[ -z "$OUTNAME" ] && OUTNAME=toybox
+[ -z "$OUTNAME" ] && OUTNAME=toybox"${TARGET:+-$TARGET}"
UNSTRIPPED="generated/unstripped/$(basename "$OUTNAME")"
# Try to keep one more cc invocation going than we have processors