Fix include path for hello pi and updated header files
Fix for segmentation Fault in hello_video on OMX_Deinit
Add hello_videocube demo. Thanks to OtherCrashOverride.
Remove find_start_codes from hello_video
Clean up hello_videocube. Thanks @fieldOfView
Add new hello_teapot demo app, and tweak some apps
Load eglIntOpenMAXILDoneMarker() explicitely via dlsym() instead of having a stub in libEGL and libbcm_host

This fixes linking problems caused by "wrong" linking order and especially
makes this work reliable if libopenmaxil is loaded via dlopen().

https://github.com/raspberrypi/firmware/issues/158
Merge pull request #14 from sdroege/master

Load eglIntOpenMAXILDoneMarker() explicitely via dlsym()  instead of having a stub in libEGL and libbcm_host
Avoid unitialialised variable warning
Add camera demo apps. Thanks jamesh
Remove redundant VCOS_SEMAPHORE_T typedef.
Add installation targets for required header files.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Make shared libraries more standard.

On most linux distros libraries have their version encoded both in the
binary and it's name. The libname.so file is just a symlink which points
dynamic linker to a specific library version name to be used during
linking.

Besides that it's not normal to have two libraries which depend on each
other. Such circular dependencies are bad and in this case affect both
libEGL and libGLESv2.

This commit tries to address both problems.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Make it possible to override VMCS_INSTALL_PREFIX from command line.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Add pkgconfig files for EGL, GLESv2 and bcm_host libraries.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Only subsitute VMCS_INSTALL_PREFIX in pkgconfig files.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Working solution for libEGL<->libGLESv2 circular dependency problem.

Both libraries cannot exists stand alone. One always needs another. In
such case it's a better idea to merge them into one lib. Symlinks and
pkgconig files have been provided for compatibility.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Generate bcm_host.pc in binary not source dir.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Fix some compiler warnings reported by gcc 4.7.2

At least some of them look like potentian bugs.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>