##// END OF EJS Templates
Improved dfu target, now generates dfu file automatically if needed....
Improved dfu target, now generates dfu file automatically if needed. Added Nano-particle board.

File last commit:

r71:608b7f0e27c2 dev_alexis
r92:8c4e597b7138 dev_alexis
Show More
buildlibuc2.sh
92 lines | 909 B | application/x-sh | BashLexer
#!/bin/bash
LIBUC2DIR=/opt/libuc2
ROOTDIR=`pwd`
mkdir -p src
DESTDIR=`pwd`/buildoutput
mkdir -p $DESTDIR
rm -f -R src/*
rm -f -R $DESTDIR/*
mkdir -p $DESTDIR/bin
tar -xvf $1 -C src
cd src
cd `ls`
./configure -opensource \
-confirm-license \
-prefix "$LIBUC2DIR" \
-prefix-install \
-fast \
-release \
-no-exceptions \
-nomake demos \
-nomake examples \
-nomake libs \
-nomake tools \
-nomake docs \
-nomake translations \
-no-xmlpatterns \
-no-qt3support \
-no-audio-backend \
-no-phonon \
-no-phonon-backend \
-no-svg -no-webkit \
-no-javascript-jit \
-no-script \
-no-scripttools \
-no-declarative \
-no-declarative-debug \
-no-gui \
-no-dbus
make -C qmake
cp ./bin/qmake $DESTDIR/bin/qmake-libuc2
mkdir -p $LIBUC2DIR
cp -R $DESTDIR/* $LIBUC2DIR/