Merge pull request #40 from groleo/for-upstream

add ANDROID_VERSION macro
fbdev: fix strerrno since fb->post returns -errno

Signed-off-by: Adrian Negreanu <groleo@gmail.com>
fb.h: add numFramebuffers for JB

Signed-off-by: Adrian Negreanu <groleo@gmail.com>
fbdev: on JB, make use of fb->numFramebuffers

Signed-off-by: Adrian Negreanu <groleo@gmail.com>
Wrap writev

This is used by android logging routines

Signed-off-by: Mohammed Hassan <mohammed.hassan@jollamobile.com>
Merge pull request #42 from groleo/fbdev-fixes

Fbdev fixes
Merge pull request #41 from foolab/writev

Wrap writev
Random build warning fixes (implicit declarations etc)

	Fix a number of gcc warnings during build.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Add gps support

	hybris/include : Add gps support header
	hybris/tests :  Add gps test program

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
avoid some possible segfaults

	Improve gps test program with some more checks so it crashes
	less when there are issues with the binary blobs.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Merge pull request #45 from philippedeswert/libhybris-gps

Libhybris gps
Merge pull request #44 from philippedeswert/hybris-fixes

Random build warning fixes (implicit declarations etc)
Fix configuration for ANDROID_VERSION to have a value in all cases

When configured without setting a linker version explicitly through --enable-alinker a
specific android version is never set but the gingerbread linker. The version should be
set to a default value as well.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Use a specific version configuration file instead of build time config.h

Signed-off-by: Simon Busch <morphis@gravedo.de>
Need to process includes first now after creating one of them at build time

Signed-off-by: Simon Busch <morphis@gravedo.de>
egl: fbdev: use android/version.h header file instead of config.h

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #47 from morphis/morphis/version-fixes

Morphis/version fixes
egl: add missing include for gralloc.h

Signed-off-by: Simon Busch <morphis@gravedo.de>
egl: move hybris_register_buffer_handle method to eglplatformcommon

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #48 from morphis/morphis/fixes

Morphis/fixes