diff options
author | Colin Cross <ccross@android.com> | 2014-01-22 19:06:04 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2014-01-22 19:06:04 -0800 |
commit | 65dd88beccc571315ffc5d9cce90402d0426a28b (patch) | |
tree | d93222d37b640aebf25b3eea3abf20dcbf9ff8c5 | |
parent | 3510637c85a93b3e535482822e7b57693a22d6ac (diff) | |
download | system_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.mk | 2 | ||||
-rw-r--r-- | libsysutils/Android.mk | 2 |
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 := |