3 ### WARNING: DO NOT CHANGE CODES from HERE !!! ###
8 while [ ! -f "./xo-setup.conf" ]
12 if [ "$SRCROOT" == "/" ]; then
13 echo "Cannot find xo-setup.conf !!"
18 . ${SRCROOT}/xo-setup.conf
20 ### WARNING: DO NOT CHANGE CODES until HERE!!! ###
26 if [ "$ARCH" == "arm" ]; then
27 CFLAGS="${CFLAGS} -g -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\""
37 run ./autogen.sh || exit 1
39 if [ "$ARCH" == "arm" ];
46 if [[ "x$MACHINE" == "xprotector" && "x$DISTRO" == "xvodafone" ]];
51 run ./configure --prefix=$PREFIX $BUILDOPTION || exit 1
53 run make install || exit 1
54 run make_pkg.sh || exit 1