diff options
author | Ronan Le Martret <ronan.lemartret@iot.bzh> | 2017-04-21 16:32:43 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-04-26 21:02:41 +0000 |
commit | 39902b66a174446a49e1083c357d86b74daef425 (patch) | |
tree | c73408c05ed25ca52385bba68e0da2137dc8c428 /meta-rcar-gen2/recipes-core | |
parent | 118df1f34368be06401824a6c5b2bb670e53be81 (diff) |
BSP's should not ship files in /usr/local/dab_3.99.1dab/3.99.13.99.1
* replace /usr/local with path /usr/share/renesas using:
RENESAS_DATADIR = "/usr/share/renesas"
- meta-rcar-gen2/include/rcar-gen2-path-common.inc
Bug-AGL: SPEC-533
Change-Id: I66350e850df385e901dc4a0ff56bf04452f90868
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'meta-rcar-gen2/recipes-core')
-rw-r--r-- | meta-rcar-gen2/recipes-core/base-files/base-files_3.0.14.bbappend | 3 | ||||
-rw-r--r-- | meta-rcar-gen2/recipes-core/libmemcpy/libmemcpy_1.0.bb | 10 |
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} \ +" |