ti-gfx: use only -I${includedir} as pkg-config Cflags
authorPeter Kümmel <syntheticpp@gmx.net>
Sun, 1 Jun 2014 10:18:27 +0000 (12:18 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 8 Jun 2014 16:52:11 +0000 (18:52 +0200)
commit05a734153908ee40d5c7a475b10c40e3f1796dd1
tree2ad4f1449a442052d7f7b3a8a8af0a783041f11f
parent9c1d3b6325eaf4e4d41a0af9fef69202258185a9
ti-gfx: use only -I${includedir} as pkg-config Cflags

Using only -I${includedir} in common practice.

Settings only -I${includedir}/GLES2 breaks Qt5's CMake files,
because at configure time CMake only searchs the paths reported
by pkg-config, and not even /usr/include is used as default.

Even though pkg-config strips out standard include path, that's not
the case with pkgconf (which we are using) in cross-compilation,
which correctly reports the /usr/include dir prefixed with the
sysroot.

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Kümmel <syntheticpp@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/ti-gfx/egl.pc
package/ti-gfx/glesv2.pc