From 949544f5b36ee1ba45c71f96c8d1aefb3e49ce84 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 28 May 2014 20:48:05 +0200 Subject: [PATCH 1/1] make.sh: Allow to permanently set TARGET_ARCH in .config. --- make.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/make.sh b/make.sh index 37339edc6..40717c99d 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) -- 2.39.2