aboutsummaryrefslogtreecommitdiff
path: root/scripts/make.sh
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-03-21 15:53:18 -0500
committerRob Landley <rob@landley.net>2019-03-21 15:53:18 -0500
commit99cd706b1ad7bdc41658139f04ff30bd87ea7f3e (patch)
tree911871d854f1e3169c38570e6efaded7761a777c /scripts/make.sh
parent14eee98d9dbe81729437bf333ea413b43e37969a (diff)
downloadtoybox-99cd706b1ad7bdc41658139f04ff30bd87ea7f3e.tar.gz
Test for compiler existence when sourcing portability.sh.
Diffstat (limited to 'scripts/make.sh')
-rwxr-xr-xscripts/make.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/make.sh b/scripts/make.sh
index 58456f6f..2fc94b4c 100755
--- a/scripts/make.sh
+++ b/scripts/make.sh
@@ -5,12 +5,8 @@
export LANG=c
export LC_ALL=C
set -o pipefail
-source ./configure
source scripts/portability.sh
-[ ! -z "$CROSS_COMPILE" ] && [ ! -e "$CROSS_COMPILE"cc ] &&
- echo "missing ${CROSS_COMPILE}cc" && exit 1
-
[ -z "$KCONFIG_CONFIG" ] && KCONFIG_CONFIG=.config
[ -z "$OUTNAME" ] && OUTNAME=toybox
UNSTRIPPED="generated/unstripped/$(basename "$OUTNAME")"