forked from openkylin/platform_build
core: the device/board/product kernel headers will be auto-generated
So, just add the output include directory to the include path Change-Id: Ia370454237913a748288124f65a6b731b17d6e1a Signed-off-by: Dima Zavin <dima@android.com>
This commit is contained in:
parent
f926990ba3
commit
992a52990c
|
@ -358,8 +358,7 @@ TARGET_GLOBAL_LD_DIRS += -L$(TARGET_OUT_INTERMEDIATE_LIBRARIES)
|
|||
|
||||
HOST_PROJECT_INCLUDES:= $(SRC_HEADERS) $(SRC_HOST_HEADERS) $(HOST_OUT_HEADERS)
|
||||
TARGET_PROJECT_INCLUDES:= $(SRC_HEADERS) $(TARGET_OUT_HEADERS) \
|
||||
$(TARGET_DEVICE_KERNEL_HEADERS) $(TARGET_BOARD_KERNEL_HEADERS) \
|
||||
$(TARGET_PRODUCT_KERNEL_HEADERS)
|
||||
$(TARGET_OUT_KERNEL_HEADERS)
|
||||
|
||||
# Many host compilers don't support these flags, so we have to make
|
||||
# sure to only specify them for the target compilers checked in to
|
||||
|
|
|
@ -191,6 +191,7 @@ HOST_OUT_COMMON_INTERMEDIATES := $(HOST_COMMON_OUT_ROOT)/obj
|
|||
|
||||
TARGET_OUT_INTERMEDIATES := $(PRODUCT_OUT)/obj
|
||||
TARGET_OUT_HEADERS:= $(TARGET_OUT_INTERMEDIATES)/include
|
||||
TARGET_OUT_KERNEL_HEADERS:= $(TARGET_OUT_INTERMEDIATES)/kernel-headers
|
||||
TARGET_OUT_INTERMEDIATE_LIBRARIES := $(TARGET_OUT_INTERMEDIATES)/lib
|
||||
TARGET_OUT_COMMON_INTERMEDIATES := $(TARGET_COMMON_OUT_ROOT)/obj
|
||||
|
||||
|
|
Loading…
Reference in New Issue