OSDN Git Service

netd: remove $(KERNEL_HEADERS) from include path
authorColin Cross <ccross@android.com>
Thu, 23 Jan 2014 07:51:53 +0000 (23:51 -0800)
committerColin Cross <ccross@android.com>
Thu, 23 Jan 2014 07:51:53 +0000 (23:51 -0800)
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: I0f07ecde4c519341153e58e3cdd6441e84362ae1

Android.mk

index da4a7ad..cac0215 100644 (file)
@@ -28,7 +28,7 @@ LOCAL_SRC_FILES:=                                      \
 
 LOCAL_MODULE:= netd
 
-LOCAL_C_INCLUDES := $(KERNEL_HEADERS) \
+LOCAL_C_INCLUDES := \
                     external/mdnsresponder/mDNSShared \
                     external/openssl/include \
                     external/stlport/stlport \
@@ -50,7 +50,7 @@ LOCAL_SRC_FILES:=          \
 
 LOCAL_MODULE:= ndc
 
-LOCAL_C_INCLUDES := $(KERNEL_HEADERS)
+LOCAL_C_INCLUDES :=
 
 LOCAL_CFLAGS :=