diff options
author | Roger Monk <r-monk@ti.com> | 2009-02-17 19:36:33 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-02-17 19:36:33 +0100 |
commit | d76073e3a32b80a9bf801e27ca49ef33aee71ae6 (patch) | |
tree | d757796f2d437b8816dae0354e8a3c08bc9350f9 /packages | |
parent | a1547c8dd571811d059a1277795726cdd4d4879b (diff) |
dmai: add patch to unbreak xdc
Diffstat (limited to 'packages')
-rw-r--r-- | packages/dsplink/dmai_1.20.bb | 5 | ||||
-rw-r--r-- | packages/dsplink/files/unbreak-xdc-args.patch | 13 | ||||
-rw-r--r-- | packages/dsplink/ti-paths.inc | 1 |
3 files changed, 17 insertions, 2 deletions
diff --git a/packages/dsplink/dmai_1.20.bb b/packages/dsplink/dmai_1.20.bb index 9d5ea5fdf7..b7a03f59de 100644 --- a/packages/dsplink/dmai_1.20.bb +++ b/packages/dsplink/dmai_1.20.bb @@ -12,9 +12,9 @@ SRC_URI = "file://dmai_1_20_00_06.tar.gz \ file://update-v4l2-display.patch;patch=1 \ file://do-not-panic-on-mixer-failure.patch;patch=1 \ file://support-32bit-align.patch;patch=1 \ -# file://resizer-fix.patch;patch=1 \ file://built-with-angstrom.patch;patch=1 \ - " + file://unbreak-xdc-args.patch;patch=1 \ + " S = "${WORKDIR}/dmai_1_20_00_06" # Yes, the xdc stuff still breaks with a '.' in PWD @@ -29,6 +29,7 @@ TARGET_beagleboard = " o3530_al" export CE_INSTALL_DIR="${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/codecengine/cetools" do_compile() { + sed -i -e s:SEDME_CCARCH:'${TARGET_CCARCH}': ${S}/packages/config.bld cd packages/ti/sdo/dmai oe_runmake clean oe_runmake ${TARGET} C_FLAGS="-O2 -I${STAGING_INCDIR}" diff --git a/packages/dsplink/files/unbreak-xdc-args.patch b/packages/dsplink/files/unbreak-xdc-args.patch new file mode 100644 index 0000000000..b9858d0615 --- /dev/null +++ b/packages/dsplink/files/unbreak-xdc-args.patch @@ -0,0 +1,13 @@ +--- /tmp/config.bld 2009-02-17 19:32:14.000000000 +0100 ++++ dmai_1_20_00_06/packages/config.bld 2009-02-17 19:33:03.000000000 +0100 +@@ -46,6 +46,10 @@ + GCArmv5T.platform = "ti.platforms.evm3530"; + GCArmv5T.rootDir = java.lang.System.getenv("CSTOOL_DIR"); + ++GCArmv5T.cc.$unseal("opts"); ++GCArmv5T.cc.opts = "SEDME_CCARCH"; ++GCArmv5T.cc.$seal("opts"); ++ + /* + * ======== Build.targets ======== + * list of targets (ISAs + compilers) to build for diff --git a/packages/dsplink/ti-paths.inc b/packages/dsplink/ti-paths.inc index 4d78c60f1a..81803e8162 100644 --- a/packages/dsplink/ti-paths.inc +++ b/packages/dsplink/ti-paths.inc @@ -23,6 +23,7 @@ export CGTOOLS_V5T="${CROSS_DIR}" export CC_V5T="bin/${TARGET_PREFIX}gcc" export MVTOOL_PREFIX="${TARGET_PREFIX}" export MVTOOL_DIR="${CROSS_DIR}" +export CSTOOL_PREFIX="${TARGET_PREFIX}" export CSTOOL_DIR="${CROSS_DIR}" export LINUXKERNEL_INSTALL_DIR=${STAGING_KERNEL_DIR} |