]> wagnertech.de Git - projects.git/commitdiff
gnublin
authorgnublin <michael@wagnertech.de>
Tue, 7 Jun 2016 13:20:54 +0000 (15:20 +0200)
committergnublin <michael@wagnertech.de>
Tue, 7 Jun 2016 13:20:54 +0000 (15:20 +0200)
tools/make/c_configure.sh
tools/make/configure

index 16a0822ad9b6a8d45014d97a3bc64b1bc1f1e944..8882c07c35a969c9a5f36e3b9f9e09a1f3ca936e 100755 (executable)
@@ -31,7 +31,7 @@ function install_cpp_make {
                echo "CXXFLAGS += -D_ARMEL" >> make.pre
                echo 'export PATH := /opt/eldk-5.0/armv5te/sysroots/i686-oesdk-linux/usr/bin/armv5te-linux-gnueabi/:/opt/eldk-5.0/armv5te/sysroots/i686-oesdk-linux/bin/armv5te-linux-gnueabi/:$(PATH)' >> make.pre
        fi
-       echo "CXXFLAGS += -std=c++0x -I$src/util" >> make.pre
+       echo "CXXFLAGS += -I$src/util" >> make.pre
        popd
 }
 
index cb61a7585cb21a41847c3c4c32e96bf36121d3da..f4541ba64201b91988572132690795f8785a06e0 100755 (executable)
@@ -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/