Set inline kernel building.
New ramdisk.
mako: Squash custom liblight.

Restore an improved stock library that got ditched when moved to qcom/display.
Better handling for LED and added support for battery LED (always on).
Credits to Google, AOKP (Roman Birg) and CyanogenMod (Danny Baumann).

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

* Use custom lights library.

attention gets priority, then any notifications, then
finally charging LED support.

Change-Id: I85c76b59be96607b9e7388d8951001afd8c89632
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Signed-off-by: dh-harald <github@criminal.hu>

* Always disable all LEDs before updating them.

This should make sure the PWMs for red/green/blue always run in sync,
not only when switching between the various light types
(attention/battery/notification).

Change-Id: I0d743f31b645445da04436fd8ab8e8fdec39dfb9
Signed-off-by: Danny Baumann <dannybaumann@web.de>

* Clean up lights module code.

Change-Id: Ic195efafde9dba965727d055576df5f6b2a1431b
Signed-off-by: Danny Baumann <dannybaumann@web.de>

* The kernel now ensures to restart PWM on color change.

Thus, there's no need to do it in user space anymore.
Also, adapt grpfreq and grppwm calculations and comments to actual
in-kernel implementation.

Change-Id: I657888391679c4b817e0c60e1a6e520e4adafba4
Signed-off-by: Danny Baumann <dannybaumann@web.de>
Add battery LED overlay.

* Default is off.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>