From f5258275efbe31cac6cd121e3f31369eb09e7929 Mon Sep 17 00:00:00 2001 From: Khang Nguyen Date: Mon, 28 May 2018 14:47:58 +0700 Subject: rcar-gen3: gles-user-module: Remove hard path This replaces "/usr/local" with path "${RENESAS_DATADIR}" using RENESAS_DATADIR = "/usr/local" from meta-rcar-gen3/include/rcar-gen3-path-common.inc. Signed-off-by: Khang Nguyen Signed-off-by: Takamitsu Honda --- meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'meta-rcar-gen3/recipes-graphics/gles-module') 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 59a188e..a60a0a5 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/ @@ -92,7 +93,7 @@ FILES_${PN} = " \ ${sysconfdir}/* \ ${libdir}/* \ /lib/firmware/rgx.fw* \ - /usr/local/bin/* \ + ${RENESAS_DATADIR}/bin/* \ ${exec_prefix}/bin/* \ " -- cgit 1.2.3-korg