summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen2/recipes-multimedia')
-rw-r--r--meta-rcar-gen2/recipes-multimedia/omx-module/omx-user-module.bb4
-rw-r--r--meta-rcar-gen2/recipes-multimedia/vspm-module/vspm-user-module.bb3
2 files changed, 5 insertions, 2 deletions
diff --git a/meta-rcar-gen2/recipes-multimedia/omx-module/omx-user-module.bb b/meta-rcar-gen2/recipes-multimedia/omx-module/omx-user-module.bb
index 635b8b7..f177695 100644
--- a/meta-rcar-gen2/recipes-multimedia/omx-module/omx-user-module.bb
+++ b/meta-rcar-gen2/recipes-multimedia/omx-module/omx-user-module.bb
@@ -99,8 +99,8 @@ do_configure() {
cd ${S}/UDF_Linux
./autogen.sh
./configure --prefix=${D}${RENESAS_DATADIR}/ --host=arm-linux \
- CFLAGS="-I${BUILDDIR}/include -I${KERNELDIR}/include" \
- LDFLAGS="-L${LIBSHARED}" \
+ CFLAGS="-I${BUILDDIR}/include -I${KERNELDIR}/include -I${RECIPE_SYSROOT}/usr/share/renesas/include/" \
+ LDFLAGS="-L${LIBSHARED} -L${RECIPE_SYSROOT}/usr/share/renesas/lib/" \
OMXR_DEFAULT_CONFIG_FILE_NAME=${RENESAS_DATADIR}/config/omxr_config_base.txt
}
diff --git a/meta-rcar-gen2/recipes-multimedia/vspm-module/vspm-user-module.bb b/meta-rcar-gen2/recipes-multimedia/vspm-module/vspm-user-module.bb
index 079a0d9..2c93cae 100644
--- a/meta-rcar-gen2/recipes-multimedia/vspm-module/vspm-user-module.bb
+++ b/meta-rcar-gen2/recipes-multimedia/vspm-module/vspm-user-module.bb
@@ -8,6 +8,9 @@ SRC_URI = "file://vspm-user.tar.bz2"
S = "${WORKDIR}"
+# workaround for vspm-kernel-module header
+CC += " -I${RECIPE_SYSROOT}/usr/src/kernel/include "
+
do_compile() {
# Build shared library
cd ${S}/vspm/if