Compile libmraa for Android and Brillo
authorMihai Serban <mihai.serban@intel.com>
Thu, 12 Nov 2015 16:26:23 +0000 (18:26 +0200)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Fri, 4 Dec 2015 15:37:00 +0000 (15:37 +0000)
commitccafc77641b21672881e8f75fe44d017e5147402
treea40422ea8216317249bab1a34dc526d70a56b47b
parent2dd94cda3bf405545548e37823684e5b14f9ceed
Compile libmraa for Android and Brillo

Add makefile for building libmraa library.

Import glob functionality from the NetBSD project where the glob.c and
glob.h files are released under BSD 3-clause License. Minor changes were
applied in order to make them compile for Android and Brillo.

This patch adds a control pipe used to interrupt the poll() function
as an alternative to pthread cancellation API.

Change-Id: Id719da4c839acbd320b0cc0e0113c2a5239c8029
Signed-off-by: Mihai Serban <mihai.serban@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Android.mk [new file with mode: 0644]
include/mraa_internal_types.h
src/glob/glob.c [new file with mode: 0644]
src/glob/glob.h [new file with mode: 0644]
src/gpio/gpio.c