--- /dev/null
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: egl
+Description: Freescale gpu-viv-bin-mx6q implementation of EGL
+Version: 1.0
+Libs: -L${libdir} -lGAL -lEGL
+Cflags: -I${includedir}/ -DEGL_API_FB=1
--- /dev/null
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: glesv2
+Description: Freescale gpu-viv-bin-mx6q implementation of OpenGL ESv2
+Version: 2.0
+Libs: -L${libdir} -lGAL -lEGL -lGLESv2
+Cflags: -I${includedir}/ -DEGL_API_FB=1
define GPU_VIV_BIN_MX6Q_INSTALL_STAGING_CMDS
cp -r $(@D)/usr/* $(STAGING_DIR)/usr
+ for lib in egl glesv2 vg; do \
+ $(INSTALL) -m 0644 -D \
+ package/freescale-imx/gpu-viv-bin-mx6q/$${lib}.pc \
+ $(STAGING_DIR)/usr/lib/pkgconfig/$${lib}.pc; \
+ if [ "$(GPU_VIV_BIN_MX6Q_LIB_TARGET)" != "fb" ]; then \
+ $(SED) "s/-DEGL_API_FB=1//" \
+ $(STAGING_DIR)/usr/lib/pkgconfig/$${lib}.pc; \
+ fi; \
+ done
endef
ifeq ($(BR2_PACKAGE_GPU_VIV_BIN_MX6Q_EXAMPLES),y)
--- /dev/null
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: vg
+Description: Freescale gpu-viv-bin-mx6q implementation of OpenVG
+Version: 1.1
+Libs: -L${libdir} -lGAL -lEGL -lOpenVG
+Cflags: -I${includedir}/ -DEGL_API_FB=1