From ee152b8b71d213422e91b2871f25ba36018cf6bd Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 15 Jan 2010 01:34:54 +0100 Subject: [PATCH] =?UTF-8?q?config/options:=20-=20add=20support=20for=20"AR?= =?UTF-8?q?CH=3D=3F=3F=3F=20make"=20to=20set=20Target=20Architecture?= --- config/options | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/options b/config/options index abab4c0a9f..42e85dc5f0 100644 --- a/config/options +++ b/config/options @@ -1,6 +1,13 @@ # Project name PROJECT=${PROJECT} +# determines TARGET_ARCH, if not forced by user +if [ -z "$ARCH" ]; then + TARGET_ARCH="i386" +else + TARGET_ARCH=$ARCH +fi + ROOT=`pwd` PROJECT_DIR=$ROOT/projects