summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-core
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen2/recipes-core')
-rw-r--r--meta-rcar-gen2/recipes-core/base-files/base-files_3.0.14.bbappend3
-rw-r--r--meta-rcar-gen2/recipes-core/libmemcpy/libmemcpy_1.0.bb10
2 files changed, 10 insertions, 3 deletions
diff --git a/meta-rcar-gen2/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-rcar-gen2/recipes-core/base-files/base-files_3.0.14.bbappend
index 9d6092b..14f635b 100644
--- a/meta-rcar-gen2/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/meta-rcar-gen2/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,7 +1,8 @@
require meta-rcar-gen2/include/multimedia-control.inc
+require include/rcar-gen2-path-common.inc
do_install_append () {
if [ "X${USE_MULTIMEDIA}" = "X1" ] ; then
- echo "export LD_LIBRARY_PATH=\"/usr/local/lib\"" >> ${D}${sysconfdir}/profile
+ echo "export LD_LIBRARY_PATH=\"${RENESAS_DATADIR}/lib\"" >> ${D}${sysconfdir}/profile
fi
}
diff --git a/meta-rcar-gen2/recipes-core/libmemcpy/libmemcpy_1.0.bb b/meta-rcar-gen2/recipes-core/libmemcpy/libmemcpy_1.0.bb
index 22f5381..c2887cb 100644
--- a/meta-rcar-gen2/recipes-core/libmemcpy/libmemcpy_1.0.bb
+++ b/meta-rcar-gen2/recipes-core/libmemcpy/libmemcpy_1.0.bb
@@ -3,10 +3,16 @@ SECTION = "dev"
LICENSE = "LGPL-2.1"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780"
+require include/rcar-gen2-path-common.inc
+
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI = "file://libmemcpy-1.0.tar.bz2"
inherit autotools
-prefix="/usr/local/lib"
-exec_prefix="/usr/local"
+prefix="${RENESAS_DATADIR}/lib"
+exec_prefix="${RENESAS_DATADIR}"
+
+FILES_${PN} += " \
+ ${RENESAS_DATADIR} \
+"