summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-multimedia/dtv-module
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-04-21 16:32:43 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-04-26 21:02:41 +0000
commit39902b66a174446a49e1083c357d86b74daef425 (patch)
treec73408c05ed25ca52385bba68e0da2137dc8c428 /meta-rcar-gen2/recipes-multimedia/dtv-module
parent118df1f34368be06401824a6c5b2bb670e53be81 (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/dtv-module')
-rw-r--r--meta-rcar-gen2/recipes-multimedia/dtv-module/dtv-user-module.bb18
1 files changed, 9 insertions, 9 deletions
diff --git a/meta-rcar-gen2/recipes-multimedia/dtv-module/dtv-user-module.bb b/meta-rcar-gen2/recipes-multimedia/dtv-module/dtv-user-module.bb
index 7b8e5ca..0bfc9af 100644
--- a/meta-rcar-gen2/recipes-multimedia/dtv-module/dtv-user-module.bb
+++ b/meta-rcar-gen2/recipes-multimedia/dtv-module/dtv-user-module.bb
@@ -14,18 +14,18 @@ do_populate_lic[noexec] = "1"
do_install() {
# Create share folders
- mkdir -p ${D}/usr/local/include/ ${D}/usr/local/lib ${D}/usr/local/src/dtv/reference
+ mkdir -p ${D}${RENESAS_DATADIR}/include/ ${D}${RENESAS_DATADIR}/lib ${D}${RENESAS_DATADIR}/src/dtv/reference
# Copy share files to destination
- cp -f ${WORKDIR}/dtv/include/*.h ${D}/usr/local/include/
- cp -f ${WORKDIR}/dtv/lib/libdtv.a ${D}/usr/local/lib
- cp -f ${WORKDIR}/dtv/userfunc/* ${D}/usr/local/src/dtv/reference
+ cp -f ${WORKDIR}/dtv/include/*.h ${D}${RENESAS_DATADIR}/include/
+ cp -f ${WORKDIR}/dtv/lib/libdtv.a ${D}${RENESAS_DATADIR}/lib
+ cp -f ${WORKDIR}/dtv/userfunc/* ${D}${RENESAS_DATADIR}/src/dtv/reference
}
SYSROOT_PREPROCESS_FUNCS += "do_populate_reference_src"
do_populate_reference_src () {
- sysroot_stage_dir ${D}/usr/local ${SYSROOT_DESTDIR}/usr/local
+ sysroot_stage_dir ${D}${RENESAS_DATADIR} ${SYSROOT_DESTDIR}${RENESAS_DATADIR}
}
PACKAGES = "\
@@ -38,13 +38,13 @@ FILES_${PN} = ""
ALLOW_EMPTY_${PN} = "1"
FILES_${PN}-dev = " \
- /usr/local/include/*.h \
- /usr/local/src/dtv/reference/*.c \
- /usr/local/src/dtv/reference/*.h \
+ ${RENESAS_DATADIR}/include/*.h \
+ ${RENESAS_DATADIR}/src/dtv/reference/*.c \
+ ${RENESAS_DATADIR}/src/dtv/reference/*.h \
"
FILES_${PN}-staticdev = " \
- /usr/local/lib/*.a \
+ ${RENESAS_DATADIR}/lib/*.a \
"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"