[meta-freescale] [meta-freescale-distro][PATCH] imx-gpu-sdk: Don't change the build directory during install task
Tom Hochstein
tom.hochstein at nxp.com
Mon Jan 16 17:11:06 PST 2017
The build script makefile target 'install' installs directly in
the build folder, so it must be executed from the compile task.
This manifested itself after a repo sync with compile time warnings
and an install task error.
Signed-off-by: Tom Hochstein <tom.hochstein at nxp.com>
---
recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_2.3.2.bb | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_2.3.2.bb b/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_2.3.2.bb
index 6b80baa..e1ec357 100644
--- a/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_2.3.2.bb
+++ b/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_2.3.2.bb
@@ -34,21 +34,14 @@ do_compile () {
export FSL_PLATFORM_NAME=Yocto
export ROOTFS=${STAGING_DIR_HOST}
if [ "${IMXGPU}" = "3d" ]; then
- ./build.sh -f GNUmakefile_Yocto EGLBackend=${BACKEND}
+ ./build.sh -f GNUmakefile_Yocto EGLBackend=${BACKEND} install
else
- ./build_OpenVG.sh -f GNUmakefile_Yocto EGLBackend=${BACKEND}
+ ./build_OpenVG.sh -f GNUmakefile_Yocto EGLBackend=${BACKEND} install
fi
}
do_install () {
- export FSL_GRAPHICS_SDK=${S}
- export FSL_PLATFORM_NAME=Yocto
install -d "${D}/opt/${PN}"
- if [ "${IMXGPU}" = "3d" ]; then
- ./build.sh -f GNUmakefile_Yocto EGLBackend=${BACKEND} install
- else
- ./build_OpenVG.sh -f GNUmakefile_Yocto EGLBackend=${BACKEND} install
- fi
cp -r bin/* "${D}/opt/${PN}"
rm -rf ${D}/opt/${PN}/GLES2/S05_PrecompiledShader
--
1.9.1
More information about the meta-freescale
mailing list