Add pthread support
Update graphite glags

USING_SABER_LINUX being set is a requirement for using graphite.

Now can add to BoardConfig.mk to disable device specific modules if needed.  Might be more useful for legacy devices.
Remove graphite restrictions
Add support for building flashable kernel zips

Choose device from lunch menu then enter make bootzip, builds flashable boot.img with updated source ramdisk

Change-Id: I9762e522ef85b9a19cb2feba10fd9044e3fd9dbf

Conflicts:
	core/Makefile
Remove LOCAL_DISABLE_GRAHPITE:

LOCAL_MODULE already gets cleared in clear_vars.mk which is what we
should be using when enabling/disabling various GCC flags
Add graphite flag -floop-flatten

Signed-off-by: Paul Beeler <pbeeler80@gmail.com>
fix typo and update headers
remove BoardConfig.mk options:

The current settings can add endless module names for the same modules.  Which will increase compile time.

Signed-off-by: Paul Beeler <pbeeler80@gmail.com>
Move threads and graphite modules list to ARM:

Fixes compatability with BoardConfig.mk or simular

Signed-off-by: Paul Beeler <pbeeler80@gmail.com>
Move pthread and graphite modules list to vendor/psd (1/2)

Signed-off-by: Paul Beeler <pbeeler80@gmail.com>
Add C and CPP flag support for pthread
Merge remote-tracking branch 'build/kitkat-legacy-staging' into kitkat-legacy