Skip to content
Snippets Groups Projects
Commit 4a8019ef authored by Samuli Piippo's avatar Samuli Piippo
Browse files

BBB: fix libgles-omap3 build


4.x version of libgles-omap4 did not build correctly any more, since correct
compiler flags were not used. Need to use the CC instead of PLAT_CC which is
modified by the makefiles.

Change-Id: I23f4f757db392a65a6322be857bd47c06047f38b
Reviewed-by: default avatarAndy Nichols <andy.nichols@theqtcompany.com>
parent 4a13a522
No related branches found
No related tags found
No related merge requests found
require recipes-graphics/libgles/libgles-omap3-no-x.inc require recipes-graphics/libgles/libgles-omap3-no-x.inc
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:${COREBASE}/../meta-ti/recipes-graphics/libgles/${PN}" FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:${COREBASE}/../meta-ti/recipes-graphics/libgles/${PN}:"
LICENSE = "TI-TSPA" LICENSE = "TI-TSPA"
...@@ -46,3 +46,10 @@ SRC_URI[sha256sum] := "${@base_contains('TUNE_FEATURES', 'callconvention-hard', ...@@ -46,3 +46,10 @@ SRC_URI[sha256sum] := "${@base_contains('TUNE_FEATURES', 'callconvention-hard',
S = "${WORKDIR}/Graphics_SDK_${SGXPV}" S = "${WORKDIR}/Graphics_SDK_${SGXPV}"
LIBGLESWINDOWSYSTEM = "libpvrPVR2D_FRONTWSEGL.so.1" LIBGLESWINDOWSYSTEM = "libpvrPVR2D_FRONTWSEGL.so.1"
do_configure_append() {
# PLAT_CC might not have needed arguments, so use CC instead.
for mak in $(find ${S} -name "*.mak" -o -name Makefile) ; do
sed -i -e s:\$\(PLAT_CC\):\$\(CC\):g $mak
done
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment