Commit 14e94af5 authored by Ludovic Fauvet's avatar Ludovic Fauvet

build: source the buildcommon script only once

parent 514e2c5c
set -a
export BUILDCOMMONDONE=1
#############
# DEFINES #
......
......@@ -2,7 +2,10 @@
SCRIPT=$(readlink -f "$0")
PROJECTPATH=$(dirname "$SCRIPT")
source ${PROJECTPATH}/buildcommon
if [ "$BUILDCOMMONDONE" != 1 ]; then
source ${PROJECTPATH}/buildcommon
fi
#########################
# FETCH EMOTION SOURCES #
......
......@@ -2,7 +2,10 @@
SCRIPT=$(readlink -f "$0")
PROJECTPATH=$(dirname "$SCRIPT")
source ${PROJECTPATH}/buildcommon
if [ "$BUILDCOMMONDONE" != 1 ]; then
source ${PROJECTPATH}/buildcommon
fi
##############################
# FETCH MEDIALIBRARY SOURCES #
......
......@@ -4,7 +4,10 @@ VLC_TESTED_HASH=0deb1ed
SCRIPT=$(readlink -f "$0")
PROJECTPATH=$(dirname "$SCRIPT")
source ${PROJECTPATH}/buildcommon
if [ "$BUILDCOMMONDONE" != 1 ]; then
source ${PROJECTPATH}/buildcommon
fi
# atomics are broken for x86 on 2.3, dirty hacks since it's used only from emulator
if [ ${TIZEN_SDK_VERSION} = "2.3.1" -a "${TIZEN_ABI}" = "x86" ];then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment