Merge "Add the common directory back to kernel headers."
This commit is contained in:
@@ -166,6 +166,7 @@ $(combo_2nd_arch_prefix)TARGET_LIBGCOV := $(shell $($(combo_2nd_arch_prefix)TARG
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
||||||
|
KERNEL_HEADERS_COMMON += $(libc_root)/kernel/common
|
||||||
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-$(TARGET_$(combo_2nd_arch_prefix)ARCH)
|
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-$(TARGET_$(combo_2nd_arch_prefix)ARCH)
|
||||||
KERNEL_HEADERS := $(KERNEL_HEADERS_COMMON) $(KERNEL_HEADERS_ARCH)
|
KERNEL_HEADERS := $(KERNEL_HEADERS_COMMON) $(KERNEL_HEADERS_ARCH)
|
||||||
|
|
||||||
|
@@ -137,6 +137,7 @@ TARGET_LIBGCOV := $(shell $(TARGET_CC) $(TARGET_GLOBAL_CFLAGS) \
|
|||||||
-print-file-name=libgcov.a)
|
-print-file-name=libgcov.a)
|
||||||
|
|
||||||
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
||||||
|
KERNEL_HEADERS_COMMON += $(libc_root)/kernel/common
|
||||||
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-$(TARGET_ARCH)
|
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-$(TARGET_ARCH)
|
||||||
KERNEL_HEADERS := $(KERNEL_HEADERS_COMMON) $(KERNEL_HEADERS_ARCH)
|
KERNEL_HEADERS := $(KERNEL_HEADERS_COMMON) $(KERNEL_HEADERS_ARCH)
|
||||||
|
|
||||||
|
@@ -140,6 +140,7 @@ $(combo_2nd_arch_prefix)TARGET_LIBGCOV := $(shell $($(combo_2nd_arch_prefix)TARG
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
||||||
|
KERNEL_HEADERS_COMMON += $(libc_root)/kernel/common
|
||||||
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-mips # mips covers both mips and mips64.
|
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-mips # mips covers both mips and mips64.
|
||||||
KERNEL_HEADERS := $(KERNEL_HEADERS_COMMON) $(KERNEL_HEADERS_ARCH)
|
KERNEL_HEADERS := $(KERNEL_HEADERS_COMMON) $(KERNEL_HEADERS_ARCH)
|
||||||
|
|
||||||
|
@@ -146,6 +146,7 @@ TARGET_LIBGCOV := $(shell $(TARGET_CC) $(TARGET_GLOBAL_CFLAGS) \
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
||||||
|
KERNEL_HEADERS_COMMON += $(libc_root)/kernel/common
|
||||||
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-mips
|
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-mips
|
||||||
# TODO: perhaps use $(libc_root)/kernel/uapi/asm-$(TARGET_ARCH) instead of asm-mips ?
|
# TODO: perhaps use $(libc_root)/kernel/uapi/asm-$(TARGET_ARCH) instead of asm-mips ?
|
||||||
KERNEL_HEADERS := $(KERNEL_HEADERS_COMMON) $(KERNEL_HEADERS_ARCH)
|
KERNEL_HEADERS := $(KERNEL_HEADERS_COMMON) $(KERNEL_HEADERS_ARCH)
|
||||||
|
@@ -72,6 +72,7 @@ libc_root := bionic/libc
|
|||||||
libm_root := bionic/libm
|
libm_root := bionic/libm
|
||||||
|
|
||||||
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
||||||
|
KERNEL_HEADERS_COMMON += $(libc_root)/kernel/common
|
||||||
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-x86 # x86 covers both x86 and x86_64.
|
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-x86 # x86 covers both x86 and x86_64.
|
||||||
KERNEL_HEADERS := $(KERNEL_HEADERS_COMMON) $(KERNEL_HEADERS_ARCH)
|
KERNEL_HEADERS := $(KERNEL_HEADERS_COMMON) $(KERNEL_HEADERS_ARCH)
|
||||||
|
|
||||||
|
@@ -72,6 +72,7 @@ libc_root := bionic/libc
|
|||||||
libm_root := bionic/libm
|
libm_root := bionic/libm
|
||||||
|
|
||||||
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
||||||
|
KERNEL_HEADERS_COMMON += $(libc_root)/kernel/common
|
||||||
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-x86 # x86 covers both x86 and x86_64.
|
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-x86 # x86 covers both x86 and x86_64.
|
||||||
KERNEL_HEADERS := $(KERNEL_HEADERS_COMMON) $(KERNEL_HEADERS_ARCH)
|
KERNEL_HEADERS := $(KERNEL_HEADERS_COMMON) $(KERNEL_HEADERS_ARCH)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user