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-multimedia/mmngr-module/mmngr-user-module.bb | |
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-multimedia/mmngr-module/mmngr-user-module.bb')
-rw-r--r-- | meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngr-user-module.bb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngr-user-module.bb b/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngr-user-module.bb index 3205915..d150d8a 100644 --- a/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngr-user-module.bb +++ b/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngr-user-module.bb @@ -16,14 +16,14 @@ do_compile() { } do_install() { - mkdir -p ${D}/usr/local/lib/ ${D}/usr/local/include + mkdir -p ${D}${RENESAS_DATADIR}/lib/ ${D}${RENESAS_DATADIR}/include # Copy shared library - cp -P ${S}/if/libmmngr.so* ${D}/usr/local/lib/ - cd ${D}/usr/local/lib/ + cp -P ${S}/if/libmmngr.so* ${D}${RENESAS_DATADIR}/lib/ + cd ${D}${RENESAS_DATADIR}/lib/ # Copy shared header files - cp -f ${BUILDDIR}/include/mmngr_user_public.h ${D}/usr/local/include - cp -f ${BUILDDIR}/include/mmngr_user_private.h ${D}/usr/local/include + cp -f ${BUILDDIR}/include/mmngr_user_public.h ${D}${RENESAS_DATADIR}/include + cp -f ${BUILDDIR}/include/mmngr_user_private.h ${D}${RENESAS_DATADIR}/include } # Append function to clean extract source @@ -43,14 +43,14 @@ PACKAGES = "\ " FILES_${PN} = " \ - /usr/local/lib/libmmngr.so.* \ + ${RENESAS_DATADIR}/lib/libmmngr.so.* \ " FILES_${PN}-dev = " \ - /usr/local/include \ - /usr/local/include/*.h \ - /usr/local/lib \ - /usr/local/lib/libmmngr.so \ + ${RENESAS_DATADIR}/include \ + ${RENESAS_DATADIR}/include/*.h \ + ${RENESAS_DATADIR}/lib \ + ${RENESAS_DATADIR}/lib/libmmngr.so \ " RPROVIDES_${PN} += "mmngr-user-module" |