Android.mk: remove undefined KERNEL_DIR from paths
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
diff --git a/Android.mk b/Android.mk
index 11f95f2..afe7d18 100644
--- a/Android.mk
+++ b/Android.mk
@@ -3,7 +3,7 @@
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := eng
-LOCAL_C_INCLUDES += $(LOCAL_PATH) $(LOCAL_PATH)/$(KERNEL_DIR)/include
+LOCAL_C_INCLUDES += $(LOCAL_PATH) $(LOCAL_PATH)/include
LOCAL_SRC_FILES := tools/i2cbusses.c tools/util.c
LOCAL_MODULE := i2c-tools
include $(BUILD_STATIC_LIBRARY)
@@ -16,7 +16,7 @@
LOCAL_CPPFLAGS += -DANDROID
LOCAL_SHARED_LIBRARIES:=libc
LOCAL_STATIC_LIBRARIES := i2c-tools
-LOCAL_C_INCLUDES += $(LOCAL_PATH) $(LOCAL_PATH)/$(KERNEL_DIR)/include
+LOCAL_C_INCLUDES += $(LOCAL_PATH) $(LOCAL_PATH)/include
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
@@ -27,7 +27,7 @@
LOCAL_CPPFLAGS += -DANDROID
LOCAL_SHARED_LIBRARIES:=libc
LOCAL_STATIC_LIBRARIES := i2c-tools
-LOCAL_C_INCLUDES += $(LOCAL_PATH) $(LOCAL_PATH)/$(KERNEL_DIR)/include
+LOCAL_C_INCLUDES += $(LOCAL_PATH) $(LOCAL_PATH)/include
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
@@ -38,7 +38,7 @@
LOCAL_CPPFLAGS += -DANDROID
LOCAL_SHARED_LIBRARIES:=libc
LOCAL_STATIC_LIBRARIES := i2c-tools
-LOCAL_C_INCLUDES += $(LOCAL_PATH) $(LOCAL_PATH)/$(KERNEL_DIR)/include
+LOCAL_C_INCLUDES += $(LOCAL_PATH) $(LOCAL_PATH)/include
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
@@ -49,5 +49,5 @@
LOCAL_CPPFLAGS += -DANDROID
LOCAL_SHARED_LIBRARIES:=libc
LOCAL_STATIC_LIBRARIES := i2c-tools
-LOCAL_C_INCLUDES += $(LOCAL_PATH) $(LOCAL_PATH)/$(KERNEL_DIR)/include
+LOCAL_C_INCLUDES += $(LOCAL_PATH) $(LOCAL_PATH)/include
include $(BUILD_EXECUTABLE)