X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/projects.git/blobdiff_plain/4e9560e5d475437dbf5d8d0044d822b733f2d3e9..7f51ac61113edf0e868cdeb4a73a159c6cb775e0:/tools/make/configure diff --git a/tools/make/configure b/tools/make/configure index cb61a75..e27e9e2 100755 --- a/tools/make/configure +++ b/tools/make/configure @@ -23,6 +23,19 @@ build=$2 ARCH="" cpp_build=0 +shift 2 +while getopts "b:a:" opt +do + case $opt in + a) ARCH=$OPTARG + ;; + b) echo "branching not implemented" + ;; + *) exit 1 + ;; + esac +done + # checkout build utilities if [ ! -d projects ]; then git clone https://github.com/wagner-tech/projects/ @@ -114,4 +127,5 @@ fi # append version to make.pre echo "version = $version" >> make.pre +echo "build = $build" >> make.pre