diff options
author | Koen Kooi <koen@openembedded.org> | 2009-02-18 10:36:39 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-02-18 10:36:39 +0100 |
commit | 87360d6fd8ce0db2a47db70a468b470bb7fa372f (patch) | |
tree | 0dab6490ef58263ff06fae6a080475e8155c854e | |
parent | b13f1cef96ed0d0298b54b192cbe70af7ff84d90 (diff) |
gstreamer-ti: add more vars to make xdc a bit happier
-rw-r--r-- | packages/dsplink/gstreamer-ti_svn.bb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/dsplink/gstreamer-ti_svn.bb b/packages/dsplink/gstreamer-ti_svn.bb index c4be68c6b4..dff8f15c9f 100644 --- a/packages/dsplink/gstreamer-ti_svn.bb +++ b/packages/dsplink/gstreamer-ti_svn.bb @@ -12,6 +12,28 @@ inherit autotools require ti-paths.inc +export DMAI_INSTALL_DIR = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/dmai" +export CE_INSTALL_DIR = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/codecengine/cetools" +export CODEC_INSTALL_DIR = "" + +export XDC_TARGET = "gnu.targets.arm.GCArmv5T" + +XDC_PLATFORM = "foo" +# Assume every TI armv7a cpu is a 3530 +XDC_PLATFORM_armv7a = "ti.platforms.evm3530" +export XDC_PLATFORM + +# We need to add this to config.bld: +#GCArmv5T.cc.$unseal("opts"); +#GCArmv5T.cc.opts = "SEDME_CCARCH"; +#GCArmv5T.cc.$seal("opts"); + +do_compile_prepend() { + for i in $(find ${S} -name "config.bld") ; do + sed -i -e s:SEDME_CCARCH:'${TARGET_CCARCH}': $i + done +} + CPPFLAGS_append = " -DPlatform_${PLATFORM}" PACKAGE_ARCH = "${MACHINE_ARCH}" |