diff options
author | Rob Landley <rob@landley.net> | 2019-09-06 21:22:50 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-09-06 21:22:50 -0500 |
commit | 3356140fd2d6f15b119ca98b4d7ff969a764cee6 (patch) | |
tree | 68a4722ff1749fa42b06673526146dab97c53732 /scripts/make.sh | |
parent | 7ea6dee59b5f7ee13fdd3f52e6ee99b17ad07647 (diff) | |
download | toybox-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-x | scripts/make.sh | 2 |
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 |