aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen3')
-rw-r--r--meta-rcar-gen3/include/rcar-gen3-path-common.inc2
-rw-r--r--meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bb9
2 files changed, 6 insertions, 5 deletions
diff --git a/meta-rcar-gen3/include/rcar-gen3-path-common.inc b/meta-rcar-gen3/include/rcar-gen3-path-common.inc
index 7d89374..d01a044 100644
--- a/meta-rcar-gen3/include/rcar-gen3-path-common.inc
+++ b/meta-rcar-gen3/include/rcar-gen3-path-common.inc
@@ -1 +1 @@
-export RENESAS_DATADIR = "/usr/local"
+export RENESAS_DATADIR = "/usr"
diff --git a/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bb b/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bb
index 25a399c..14a4c5d 100644
--- a/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bb
+++ b/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bb
@@ -1,4 +1,5 @@
require include/gles-control.inc
+require include/rcar-gen3-path-common.inc
DESCRIPTION = "PowerVR GPU user module"
LICENSE = "CLOSED"
@@ -52,8 +53,8 @@ do_install() {
# Install pre-builded binaries
install -d ${D}/${libdir}
install -m 755 ${S}/${libdir}/*.so ${D}/${libdir}/
- install -d ${D}/${exec_prefix}/local/bin
- install -m 755 ${S}/${exec_prefix}/local/bin/dlcsrv_REL ${D}/${exec_prefix}/local/bin/dlcsrv_REL
+ install -d ${D}/${RENESAS_DATADIR}/bin
+ install -m 755 ${S}/usr/local/bin/dlcsrv_REL ${D}/${RENESAS_DATADIR}/bin/dlcsrv_REL
install -d ${D}/lib/firmware
install -m 644 ${S}/lib/firmware/* ${D}/lib/firmware/
@@ -93,7 +94,7 @@ FILES_${PN} = " \
${sysconfdir}/* \
${libdir}/* \
/lib/firmware/rgx.fw* \
- ${localedir}/bin/* \
+ ${RENESAS_DATADIR}/bin/* \
${exec_prefix}/bin/* \
"
@@ -104,7 +105,7 @@ FILES_${PN}-dev = " \
PROVIDES = "virtual/libgles2"
FILES_${PN}-debug = " \
- ${exec_prefix}/local/bin/dlcsrv_REL \
+ ${RENESAS_DATADIR}/bin/dlcsrv_REL \
"
RPROVIDES_${PN} += " \