* commit '538009b26cee4251b33c36f6c70fc8f703c695af': Remove obsolete CUSTOM_KERNEL_HEADERS.
This commit is contained in:
commit
17657ec7f7
5 changed files with 10 additions and 55 deletions
|
@ -133,17 +133,8 @@ libthread_db_root := bionic/libthread_db
|
|||
TARGET_LIBGCC := $(shell $(TARGET_CC) $(TARGET_GLOBAL_CFLAGS) \
|
||||
-print-libgcc-file-name)
|
||||
|
||||
# unless CUSTOM_KERNEL_HEADERS is defined, we're going to use
|
||||
# symlinks located in out/ to point to the appropriate kernel
|
||||
# headers. see 'config/kernel_headers.make' for more details
|
||||
#
|
||||
ifneq ($(CUSTOM_KERNEL_HEADERS),)
|
||||
KERNEL_HEADERS_COMMON := $(CUSTOM_KERNEL_HEADERS)
|
||||
KERNEL_HEADERS_ARCH := $(CUSTOM_KERNEL_HEADERS)
|
||||
else
|
||||
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
||||
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-$(TARGET_ARCH)
|
||||
endif
|
||||
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
||||
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-$(TARGET_ARCH)
|
||||
KERNEL_HEADERS := $(KERNEL_HEADERS_COMMON) $(KERNEL_HEADERS_ARCH)
|
||||
|
||||
TARGET_C_INCLUDES := \
|
||||
|
|
|
@ -195,17 +195,8 @@ else
|
|||
endif
|
||||
|
||||
|
||||
# unless CUSTOM_KERNEL_HEADERS is defined, we're going to use
|
||||
# symlinks located in out/ to point to the appropriate kernel
|
||||
# headers. see 'config/kernel_headers.make' for more details
|
||||
#
|
||||
ifneq ($(CUSTOM_KERNEL_HEADERS),)
|
||||
KERNEL_HEADERS_COMMON := $(CUSTOM_KERNEL_HEADERS)
|
||||
KERNEL_HEADERS_ARCH := $(CUSTOM_KERNEL_HEADERS)
|
||||
else
|
||||
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
||||
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-$(TARGET_ARCH)
|
||||
endif
|
||||
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
||||
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-$(TARGET_ARCH)
|
||||
KERNEL_HEADERS := $(KERNEL_HEADERS_COMMON) $(KERNEL_HEADERS_ARCH)
|
||||
|
||||
TARGET_C_INCLUDES := \
|
||||
|
|
|
@ -186,17 +186,8 @@ else
|
|||
endif
|
||||
|
||||
|
||||
# unless CUSTOM_KERNEL_HEADERS is defined, we're going to use
|
||||
# symlinks located in out/ to point to the appropriate kernel
|
||||
# headers. see 'config/kernel_headers.make' for more details
|
||||
#
|
||||
ifneq ($(CUSTOM_KERNEL_HEADERS),)
|
||||
KERNEL_HEADERS_COMMON := $(CUSTOM_KERNEL_HEADERS)
|
||||
KERNEL_HEADERS_ARCH := $(CUSTOM_KERNEL_HEADERS)
|
||||
else
|
||||
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
||||
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-$(TARGET_ARCH)
|
||||
endif
|
||||
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
||||
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-$(TARGET_ARCH)
|
||||
KERNEL_HEADERS := $(KERNEL_HEADERS_COMMON) $(KERNEL_HEADERS_ARCH)
|
||||
|
||||
TARGET_C_INCLUDES := \
|
||||
|
|
|
@ -102,17 +102,8 @@ else
|
|||
endif
|
||||
endif
|
||||
|
||||
# unless CUSTOM_KERNEL_HEADERS is defined, we're going to use
|
||||
# symlinks located in out/ to point to the appropriate kernel
|
||||
# headers. see 'config/kernel_headers.make' for more details
|
||||
#
|
||||
ifneq ($(CUSTOM_KERNEL_HEADERS),)
|
||||
KERNEL_HEADERS_COMMON := $(CUSTOM_KERNEL_HEADERS)
|
||||
KERNEL_HEADERS_ARCH := $(CUSTOM_KERNEL_HEADERS)
|
||||
else
|
||||
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
||||
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-$(TARGET_ARCH)
|
||||
endif
|
||||
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
||||
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-$(TARGET_ARCH)
|
||||
KERNEL_HEADERS := $(KERNEL_HEADERS_COMMON) $(KERNEL_HEADERS_ARCH)
|
||||
|
||||
android_config_h := $(call select-android-config-h,target_linux-x86)
|
||||
|
|
|
@ -104,17 +104,8 @@ else
|
|||
endif
|
||||
endif
|
||||
|
||||
# unless CUSTOM_KERNEL_HEADERS is defined, we're going to use
|
||||
# symlinks located in out/ to point to the appropriate kernel
|
||||
# headers. see 'config/kernel_headers.make' for more details
|
||||
#
|
||||
ifneq ($(CUSTOM_KERNEL_HEADERS),)
|
||||
KERNEL_HEADERS_COMMON := $(CUSTOM_KERNEL_HEADERS)
|
||||
KERNEL_HEADERS_ARCH := $(CUSTOM_KERNEL_HEADERS)
|
||||
else
|
||||
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
||||
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-x86 # x86 covers both x86 and x86_64.
|
||||
endif
|
||||
KERNEL_HEADERS_COMMON := $(libc_root)/kernel/uapi
|
||||
KERNEL_HEADERS_ARCH := $(libc_root)/kernel/uapi/asm-x86 # x86 covers both x86 and x86_64.
|
||||
KERNEL_HEADERS := $(KERNEL_HEADERS_COMMON) $(KERNEL_HEADERS_ARCH)
|
||||
|
||||
TARGET_GLOBAL_CFLAGS += \
|
||||
|
|
Loading…
Reference in a new issue