aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-multimedia/mmngr-module
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen2/recipes-multimedia/mmngr-module')
-rw-r--r--meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngr-tp-user-module.bb6
-rw-r--r--meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngr-user-module.bb20
-rw-r--r--meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngrbuf-tp-user-module.bb6
-rw-r--r--meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngrbuf-user-module.bb20
4 files changed, 26 insertions, 26 deletions
diff --git a/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngr-tp-user-module.bb b/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngr-tp-user-module.bb
index 515f784..de21e32 100644
--- a/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngr-tp-user-module.bb
+++ b/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngr-tp-user-module.bb
@@ -14,15 +14,15 @@ do_compile() {
do_install() {
# Copy kernel test program
- mkdir -p ${D}/usr/local/bin/
- cp ${S}/mmtp ${D}/usr/local/bin/
+ mkdir -p ${D}${RENESAS_DATADIR}/bin/
+ cp ${S}/mmtp ${D}${RENESAS_DATADIR}/bin/
}
PACKAGES = "\
${PN} \
"
FILES_${PN} = " \
- /usr/local/bin/mmtp \
+ ${RENESAS_DATADIR}/bin/mmtp \
"
RPROVIDES_${PN} += "mmngr-tp-user-module"
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"
diff --git a/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngrbuf-tp-user-module.bb b/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngrbuf-tp-user-module.bb
index c07945d..0f96acd 100644
--- a/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngrbuf-tp-user-module.bb
+++ b/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngrbuf-tp-user-module.bb
@@ -14,15 +14,15 @@ do_compile() {
do_install() {
# Copy kernel test program
- mkdir -p ${D}/usr/local/bin/
- cp ${S}/mmbuftp ${D}/usr/local/bin/
+ mkdir -p ${D}${RENESAS_DATADIR}/bin/
+ cp ${S}/mmbuftp ${D}${RENESAS_DATADIR}/bin/
}
PACKAGES = "\
${PN} \
"
FILES_${PN} = " \
- /usr/local/bin/mmbuftp \
+ ${RENESAS_DATADIR}/bin/mmbuftp \
"
RPROVIDES_${PN} += "mmngrbuf-tp-user-module"
diff --git a/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngrbuf-user-module.bb b/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngrbuf-user-module.bb
index d2f90e0..fb5c114 100644
--- a/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngrbuf-user-module.bb
+++ b/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngrbuf-user-module.bb
@@ -18,14 +18,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/libmmngrbuf.so* ${D}/usr/local/lib/
- cd ${D}/usr/local/lib/
+ cp -P ${S}/if/libmmngrbuf.so* ${D}${RENESAS_DATADIR}/lib/
+ cd ${D}${RENESAS_DATADIR}/lib/
# Copy shared header files
- cp -f ${BUILDDIR}/include/mmngr_buf_user_public.h ${D}/usr/local/include
- cp -f ${BUILDDIR}/include/mmngr_buf_user_private.h ${D}/usr/local/include
+ cp -f ${BUILDDIR}/include/mmngr_buf_user_public.h ${D}${RENESAS_DATADIR}/include
+ cp -f ${BUILDDIR}/include/mmngr_buf_user_private.h ${D}${RENESAS_DATADIR}/include
}
# Append function to clean extract source
@@ -45,14 +45,14 @@ PACKAGES = "\
"
FILES_${PN} = " \
- /usr/local/lib/libmmngrbuf.so.* \
+ ${RENESAS_DATADIR}/lib/libmmngrbuf.so.* \
"
FILES_${PN}-dev = " \
- /usr/local/include \
- /usr/local/include/*.h \
- /usr/local/lib \
- /usr/local/lib/libmmngrbuf.so \
+ ${RENESAS_DATADIR}/include \
+ ${RENESAS_DATADIR}/include/*.h \
+ ${RENESAS_DATADIR}/lib \
+ ${RENESAS_DATADIR}/lib/libmmngrbuf.so \
"
RPROVIDES_${PN} += "mmngrbuf-user-module"