diff options
author | Jonathan Sieber <jonathan_sieber@yahoo.de> | 2017-04-06 18:36:58 +0200 |
---|---|---|
committer | Alfred E. Heggestad <alfred.heggestad@gmail.com> | 2017-04-06 18:36:58 +0200 |
commit | ae1f6ea602a5b206f61e678b5249c01abe7cb7df (patch) | |
tree | 37e5ccc2647ae745fa3d8adcc12fec93efcdc60a /modules/omx/module.mk | |
parent | 6a9ccd80ef607eb3600c98ef5692e552d1b7302f (diff) |
Video Display Support for Raspberry Pi (#228)
* Adding a new video display module for the Raspberry Pi...
* Made it work with libomxil-bellagio
- Fixed framing woes with vidconv() :)
* Some Attention to the build system,
Automatically use libomx-bellagio or RPi OMX API
Introduces USE_OMX_RPI and USE_OMX_BELLAGIO in mk/modules.mk
use sys_usleep()
Removed pthread mutexes, they are not needed anymore
Diffstat (limited to 'modules/omx/module.mk')
-rw-r--r-- | modules/omx/module.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/modules/omx/module.mk b/modules/omx/module.mk new file mode 100644 index 0000000..958a1a5 --- /dev/null +++ b/modules/omx/module.mk @@ -0,0 +1,23 @@ +# +# module.mk +# +# Copyright (C) 2010 - 2015 Creytiv.com +# + +MOD := omx +$(MOD)_SRCS += omx.c module.c + +ifneq ($(USE_OMX_RPI),) +$(MOD)_CFLAGS := -DRASPBERRY_PI -DOMX_SKIP64BIT \ + -I/usr/local/include/interface/vmcs_host/linux/ \ + -I /usr/local/include/interface/vcos/pthreads/ \ + -I /opt/vc/include -I /opt/vc/include/interface/vmcs_host/linux \ + -I /opt/vc/include/interface/vcos/pthreads +$(MOD)_LFLAGS += -lvcos -lbcm_host -lopenmaxil -L /opt/vc/lib +endif + +ifneq ($(USE_OMX_BELLAGIO),) +$(MOD)_LFLAGS += -lomxil-bellagio +endif + +include mk/mod.mk |