2013-02-26 10:30:00 +01:00
|
|
|
_LIBC_ARCH_COMMON_SRC_FILES := \
|
|
|
|
arch-arm/bionic/abort_arm.S \
|
|
|
|
arch-arm/bionic/atomics_arm.c \
|
|
|
|
arch-arm/bionic/clone.S \
|
|
|
|
arch-arm/bionic/eabi.c \
|
|
|
|
arch-arm/bionic/_exit_with_stack_teardown.S \
|
|
|
|
arch-arm/bionic/ffs.S \
|
|
|
|
arch-arm/bionic/futex_arm.S \
|
|
|
|
arch-arm/bionic/__get_sp.S \
|
|
|
|
arch-arm/bionic/kill.S \
|
|
|
|
arch-arm/bionic/libgcc_compat.c \
|
|
|
|
arch-arm/bionic/memcmp16.S \
|
|
|
|
arch-arm/bionic/memcmp.S \
|
|
|
|
arch-arm/bionic/_setjmp.S \
|
|
|
|
arch-arm/bionic/setjmp.S \
|
|
|
|
arch-arm/bionic/sigsetjmp.S \
|
|
|
|
arch-arm/bionic/syscall.S \
|
|
|
|
arch-arm/bionic/tgkill.S \
|
|
|
|
arch-arm/bionic/tkill.S \
|
|
|
|
|
|
|
|
# These are used by the static and dynamic versions of the libc
|
|
|
|
# respectively.
|
|
|
|
_LIBC_ARCH_STATIC_SRC_FILES := \
|
2013-08-20 02:45:09 +02:00
|
|
|
arch-arm/bionic/exidx_static.c \
|
|
|
|
bionic/dl_iterate_phdr_static.c \
|
2013-02-26 10:30:00 +01:00
|
|
|
|
|
|
|
_LIBC_ARCH_DYNAMIC_SRC_FILES := \
|
2013-08-20 02:45:09 +02:00
|
|
|
arch-arm/bionic/exidx_dynamic.c \
|
2013-02-26 10:30:00 +01:00
|
|
|
|
2013-08-01 22:13:33 +02:00
|
|
|
# Remove the C++ fortify function implementations for which there is an
|
|
|
|
# arm assembler version.
|
|
|
|
_LIBC_FORTIFY_FILES_TO_REMOVE := \
|
|
|
|
bionic/__memcpy_chk.cpp \
|
|
|
|
bionic/__memset_chk.cpp \
|
2013-08-07 22:09:51 +02:00
|
|
|
bionic/__strcpy_chk.cpp \
|
|
|
|
bionic/__strcat_chk.cpp \
|
2013-08-01 22:13:33 +02:00
|
|
|
|
|
|
|
libc_common_src_files := \
|
|
|
|
$(filter-out $(_LIBC_FORTIFY_FILES_TO_REMOVE),$(libc_common_src_files))
|
|
|
|
|
2013-02-26 10:30:00 +01:00
|
|
|
ifeq ($(strip $(wildcard bionic/libc/arch-arm/$(TARGET_CPU_VARIANT)/$(TARGET_CPU_VARIANT).mk)),)
|
2013-05-03 14:53:38 +02:00
|
|
|
$(error "TARGET_CPU_VARIANT not set or set to an unknown value. Possible values are cortex-a7, cortex-a8, cortex-a9, cortex-a15, krait. Use generic for devices that do not have a CPU similar to any of the supported cpu variants.")
|
2013-02-26 10:30:00 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
include bionic/libc/arch-arm/$(TARGET_CPU_VARIANT)/$(TARGET_CPU_VARIANT).mk
|