summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-multimedia/fdpm-module
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen2/recipes-multimedia/fdpm-module')
-rw-r--r--meta-rcar-gen2/recipes-multimedia/fdpm-module/fdpm-tp-user-module.bb6
-rw-r--r--meta-rcar-gen2/recipes-multimedia/fdpm-module/fdpm-user-module.bb12
2 files changed, 9 insertions, 9 deletions
diff --git a/meta-rcar-gen2/recipes-multimedia/fdpm-module/fdpm-tp-user-module.bb b/meta-rcar-gen2/recipes-multimedia/fdpm-module/fdpm-tp-user-module.bb
index 2f01ed3..6e65645 100644
--- a/meta-rcar-gen2/recipes-multimedia/fdpm-module/fdpm-tp-user-module.bb
+++ b/meta-rcar-gen2/recipes-multimedia/fdpm-module/fdpm-tp-user-module.bb
@@ -13,10 +13,10 @@ do_compile() {
do_install() {
# Create destination folder
- mkdir -p ${D}/usr/local/bin/
+ mkdir -p ${D}${RENESAS_DATADIR}/bin/
# Copy user test program
- cp ${S}/fdpm/fdpm_tp ${D}/usr/local/bin/
+ cp ${S}/fdpm/fdpm_tp ${D}${RENESAS_DATADIR}/bin/
}
PACKAGES = "\
@@ -24,7 +24,7 @@ PACKAGES = "\
"
FILES_${PN} = " \
- /usr/local/bin/fdpm_tp \
+ ${RENESAS_DATADIR}/bin/fdpm_tp \
"
RPROVIDES_${PN} += "fdpm-tp-user-module"
diff --git a/meta-rcar-gen2/recipes-multimedia/fdpm-module/fdpm-user-module.bb b/meta-rcar-gen2/recipes-multimedia/fdpm-module/fdpm-user-module.bb
index 7146a2a..3045560 100644
--- a/meta-rcar-gen2/recipes-multimedia/fdpm-module/fdpm-user-module.bb
+++ b/meta-rcar-gen2/recipes-multimedia/fdpm-module/fdpm-user-module.bb
@@ -19,11 +19,11 @@ do_compile() {
do_install() {
# Create destination folder
- 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/libfdpm.so* ${D}/usr/local/lib
- cp -rf ${S}/include/*h ${D}/usr/local/include/
+ cp -P ${S}/if/libfdpm.so* ${D}${RENESAS_DATADIR}/lib
+ cp -rf ${S}/include/*h ${D}${RENESAS_DATADIR}/include/
}
# Append function to clean extract source
@@ -48,12 +48,12 @@ PACKAGES = "\
"
FILES_${PN} = " \
- /usr/local/lib/libfdpm.so.* \
+ ${RENESAS_DATADIR}/lib/libfdpm.so.* \
"
FILES_${PN}-dev = " \
- /usr/local/lib/libfdpm.so \
- /usr/local/include/*.h \
+ ${RENESAS_DATADIR}/lib/libfdpm.so \
+ ${RENESAS_DATADIR}/include/*.h \
"
RPROVIDES_${PN} += "fdpm-user-module"