1 ifeq ($(TARGET
)$(TARGET_IS_PI
),UNIXy
)
2 # auto-enable EGL on the Raspberry Pi.
16 EGL_CPPFLAGS
= -DUSE_EGL
19 ifeq ($(TARGET_IS_PI
),y
)
20 # Raspberry Pi detected
21 EGL_CPPFLAGS
+= -DUSE_VIDEOCORE
22 EGL_CPPFLAGS
+= -isystem
$(PI
)/opt
/vc
/include -isystem
$(PI
)/opt
/vc
/include/interface
/vcos
/pthreads
23 EGL_CPPFLAGS
+= -isystem
$(PI
)/opt
/vc
/include/interface
/vmcs_host
/linux
24 EGL_LDLIBS
+= -L
$(PI
)/opt
/vc
/lib
-lvchostif
-lvchiq_arm
-lvcos
-lbcm_host
26 EGL_CPPFLAGS
+= -DUSE_X11