5 Commits

Author SHA1 Message Date
Conn O'Griofa
5070cb7fc1 Remove legacy pkgconfig to avoid Mesa conflicts
When building software targeting Pi, it's common practice to use
the pkgconfig to assist building by specifying PKG_CONFIG_PATH.

Unfortunately, the presence of the legacy pkgconfig that conflict with
Mesa's libraries will cause issues for users that build against the
firmware pkgconfig, but wish to target Mesa. (Pi 4B or earlier revisions
using the f/kms overlay).

Although a possible workaround may be to omit the custom PKG_CONFIG_PATH
of the firmware pkgconfig during build, there are plausible use cases in
which to target a software build against Mesa whilst also leveraging
the non GL-specific firmware libraries (e.g. MMAL for hardware codec support
that works on the FKMS overlay, or BCM_HOST for basic board detection).

Note: this conflict is already resolved via the Raspbian packages by deliberately
omitting the conflicting .pc files during the packaging stage; see https://github.com/raspberrypi/firmware/issues/857
2019-10-24 08:16:46 +01:00
Sugizaki Yukimasa
de372ec001 pkgconfig: vcsm: Add -lvcos to Libs
libvcsm.so is linked with vcos in
host_applications/linux/libs/sm/CMakeLists.txt , so changed to specify
it in pkgconfig file.
2018-03-15 14:34:58 +00:00
Anthony Ryan
4ae82611f3 Add pkg-config file for mmal
Also adds a pkg-config file for vcsm, which mmal depends upon for
zero copy buffers.
2017-02-08 19:26:09 +00:00
popcornmix
dd98890106 makefile: Switch to building and using GL libs with custom names 2016-07-05 21:53:19 +01:00
Khem Raj
05d60a01d5 cmake: generate and install pkgconfig files
many packages expect packageconfig support especially for detecting EGL
libraries. This patch helps in compiling those packages on RPi

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-05-31 19:52:34 +01:00