mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Broadcom VC4: Add Videocore config option
Add option to disable Videocore autodetect so VC4 open source driver can be used.
This commit is contained in:
parent
4d8914e24b
commit
1bc0319f79
@ -35,11 +35,13 @@ fi
|
||||
add_define_make DYLIB_LIB "$DYLIB"
|
||||
|
||||
[ "$OS" = 'Darwin' ] && HAVE_X11=no # X11 breaks on recent OSXes even if present.
|
||||
|
||||
[ -d /opt/vc/lib ] && add_library_dirs /opt/vc/lib && add_library_dirs /opt/vc/lib/GL
|
||||
check_lib VIDEOCORE -lbcm_host bcm_host_init "-lvcos -lvchiq_arm"
|
||||
check_lib SYSTEMD -lsystemd sd_get_machine_names
|
||||
|
||||
if [ "$HAVE_VIDEOCORE" != "no" ]; then
|
||||
[ -d /opt/vc/lib ] && add_library_dirs /opt/vc/lib && add_library_dirs /opt/vc/lib/GL
|
||||
check_lib VIDEOCORE -lbcm_host bcm_host_init "-lvcos -lvchiq_arm"
|
||||
fi
|
||||
|
||||
if [ "$HAVE_VIDEOCORE" = 'yes' ]; then
|
||||
[ -d /opt/vc/include ] && add_include_dirs /opt/vc/include
|
||||
[ -d /opt/vc/include/interface/vcos/pthreads ] && add_include_dirs /opt/vc/include/interface/vcos/pthreads
|
||||
|
@ -103,3 +103,4 @@ HAVE_HID=yes # Low-level HID (Human Interface Device) support
|
||||
HAVE_LANGEXTRA=yes # Multi-language support
|
||||
HAVE_OSMESA=no # Off-screen Mesa rendering
|
||||
HAVE_VIDEOPROCESSOR=auto # Enable video processor core
|
||||
HAVE_VIDEOCORE=auto # Broadcom Videocore 4 support
|
||||
|
Loading…
x
Reference in New Issue
Block a user