Commit 7ab4ffcc authored by Thomas Guillem's avatar Thomas Guillem

build: fix TIZEN_CORE path with 2.4

parent 7d0f001c
......@@ -127,7 +127,16 @@ elif [ "${TIZEN_ABI}" = "x86" ] ; then
EXTRA_CFLAGS="${EXTRA_CFLAGS} -mtune=atom -msse3 -mfpmath=sse -m32"
fi
TIZEN_CORE="${TIZEN_SDK}/platforms/mobile-${TIZEN_SDK_VERSION}/rootstraps/mobile-${TIZEN_SDK_VERSION}-${TIZEN_DEVICE}.core"
if [ ${TIZEN_SDK_VERSION} = "2.3.1" ];then
TIZEN_CORE="${TIZEN_SDK}/platforms/mobile-${TIZEN_SDK_VERSION}/rootstraps/mobile-${TIZEN_SDK_VERSION}-${TIZEN_DEVICE}.core"
else
if [ ${TIZEN_SDK_VERSION} = "2.4.0b" ];then
TIZEN_SDK_SHORT_VERSION="2.4"
else
TIZEN_SDK_SHORT_VERSION="${TIZEN_SDK_VERSION}"
fi
TIZEN_CORE="${TIZEN_SDK}/platforms/tizen-${TIZEN_SDK_SHORT_VERSION}/mobile/rootstraps/mobile-${TIZEN_SDK_SHORT_VERSION}-${TIZEN_DEVICE}.core"
fi
EXTRA_CFLAGS="${EXTRA_CFLAGS} -I${SYSROOT}/include/c++/${GCCVERFULL}"
EXTRA_CFLAGS="${EXTRA_CFLAGS} -I${SYSROOT}/include/c++/${GCCVERFULL}/${TARGET_TUPLE}"
EXTRA_CFLAGS="${EXTRA_CFLAGS} -I${TIZEN_CORE}/usr/include -I${TIZEN_CORE}/usr/include/media"
......
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