summaryrefslogtreecommitdiff
path: root/packages/dsplink/cmemk.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dsplink/cmemk.inc')
-rw-r--r--packages/dsplink/cmemk.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/dsplink/cmemk.inc b/packages/dsplink/cmemk.inc
index 1b7ea3ae0f..2d9a25ad6e 100644
--- a/packages/dsplink/cmemk.inc
+++ b/packages/dsplink/cmemk.inc
@@ -11,6 +11,7 @@ export DSPLINK="${S}/cetools/packages/dsplink"
PARALLEL_MAKE = ""
+SRC_URI += "file://cmemk-class-device-27.diff"
do_compile_append() {
echo "MVTOOL_PREFIX=${TARGET_PREFIX}" > ${S}/Rules.make
@@ -22,6 +23,12 @@ do_compile_append() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
cd ${S}/cetools/packages/ti/sdo/linuxutils/cmem
+ # This sadly breaks doing -c compile more than once, but I don't have a better solution
+ if [ $(echo ${KERNEL_VERSION} | cut -c5,6) -gt 26 ] ; then
+ patch -p0 < ${WORKDIR}/cmemk-class-device-27.diff
+ fi
+
+
oe_runmake clean
oe_runmake KERNEL_PATH=${STAGING_KERNEL_DIR} \
KERNEL_SRC=${STAGING_KERNEL_DIR} \