summaryrefslogtreecommitdiffstats
path: root/liblight
diff options
context:
space:
mode:
authorKyle Repinski <repinski23@gmail.com>2014-04-28 02:23:49 -0500
committerZiyan <jaraidaniel@gmail.com>2014-12-13 00:39:21 +0100
commit3a869a8d4c16710d0ff211c667ac79b0b871e5da (patch)
treeb70fa79831048a205ed19c92df1c447b422bf6f6 /liblight
parentc0f473e73e3aa2c58f1cabfaebb64313708cb011 (diff)
downloaddevice_samsung_tuna-3a869a8d4c16710d0ff211c667ac79b0b871e5da.zip
device_samsung_tuna-3a869a8d4c16710d0ff211c667ac79b0b871e5da.tar.gz
device_samsung_tuna-3a869a8d4c16710d0ff211c667ac79b0b871e5da.tar.bz2
Fix liblight build.
Due to kernel headers not being included in the build path anymore (or being there at all actually), they need to be added on a per-section basis I guess? liblight needs (at least...) linux/leds-an30259a.h
Diffstat (limited to 'liblight')
-rwxr-xr-xliblight/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/liblight/Android.mk b/liblight/Android.mk
index b6c3144..159d91f 100755
--- a/liblight/Android.mk
+++ b/liblight/Android.mk
@@ -26,6 +26,8 @@ LOCAL_SHARED_LIBRARIES := liblog
LOCAL_MODULE := lights.tuna
+LOCAL_C_INCLUDES := $(LOCAL_PATH)/../kernel-headers
+
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)