summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-01-22 19:06:04 -0800
committerColin Cross <ccross@android.com>2014-01-22 19:06:04 -0800
commit65dd88beccc571315ffc5d9cce90402d0426a28b (patch)
treed93222d37b640aebf25b3eea3abf20dcbf9ff8c5
parent3510637c85a93b3e535482822e7b57693a22d6ac (diff)
downloadsystem_core-65dd88beccc571315ffc5d9cce90402d0426a28b.zip
system_core-65dd88beccc571315ffc5d9cce90402d0426a28b.tar.gz
system_core-65dd88beccc571315ffc5d9cce90402d0426a28b.tar.bz2
system/core: remove $(KERNEL_HEADERS) from includes
The kernel headers are already in the include path, and manually adding them again will break on a multiarch build, where the kernel headers may be different for each arch. Change-Id: Ib13d96543f2c97b1b487a46e1748ceb2c5724169
-rw-r--r--libcutils/Android.mk2
-rw-r--r--libsysutils/Android.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/libcutils/Android.mk b/libcutils/Android.mk
index f8dda36..c08a50f 100644
--- a/libcutils/Android.mk
+++ b/libcutils/Android.mk
@@ -124,7 +124,7 @@ else # !arm
endif # !x86
endif # !arm
-LOCAL_C_INCLUDES := $(libcutils_c_includes) $(KERNEL_HEADERS)
+LOCAL_C_INCLUDES := $(libcutils_c_includes)
LOCAL_STATIC_LIBRARIES := liblog
LOCAL_CFLAGS += $(targetSmpFlag)
include $(BUILD_STATIC_LIBRARY)
diff --git a/libsysutils/Android.mk b/libsysutils/Android.mk
index 1d396b2..1451b0d 100644
--- a/libsysutils/Android.mk
+++ b/libsysutils/Android.mk
@@ -16,7 +16,7 @@ LOCAL_SRC_FILES:= \
LOCAL_MODULE:= libsysutils
-LOCAL_C_INCLUDES := $(KERNEL_HEADERS)
+LOCAL_C_INCLUDES :=
LOCAL_CFLAGS :=