From: Michael Tremer Date: Wed, 28 May 2014 18:48:05 +0000 (+0200) Subject: make.sh: Allow to permanently set TARGET_ARCH in .config. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=949544f5b36ee1ba45c71f96c8d1aefb3e49ce84;p=people%2Fms%2Fipfire-2.x.git make.sh: Allow to permanently set TARGET_ARCH in .config. --- diff --git a/make.sh b/make.sh index 37339edc63..40717c99d8 100755 --- a/make.sh +++ b/make.sh @@ -65,12 +65,16 @@ mkdir $BASEDIR/log/ 2>/dev/null # Include funtions . tools/make-functions -configure_target "default" - if [ -f .config ]; then . .config fi +if [ -n "${TARGET_ARCH}" ]; then + configure_target "${TARGET_ARCH}" +else + configure_target "default" +fi + if [ -z $EDITOR ]; then for i in nano emacs vi; do EDITOR=$(which $i 2>/dev/null)