Remove abi-*-options compiler flags
[glibc.git] / sysdeps / unix / sysv / linux / arm / Makefile
blob4adc35de04aa1e4b0b77c313c7d85864a85c9e98
1 ifeq ($(subdir),elf)
2 sysdep_routines += dl-vdso
3 sysdep-rtld-routines += aeabi_read_tp libc-do-syscall
4 endif
6 ifeq ($(subdir),misc)
7 sysdep_routines += ioperm
8 sysdep_headers += sys/elf.h sys/io.h
9 endif
11 ifeq ($(subdir),signal)
12 sysdep_routines += sigrestorer
13 endif
15 ifeq ($(subdir),stdlib)
16 gen-as-const-headers += ucontext_i.sym
17 endif
19 # Add a syscall function to each library that needs one.
21 ifeq ($(subdir),crypt)
22 libcrypt-sysdep_routines += libc-do-syscall
23 endif
25 ifeq ($(subdir),rt)
26 librt-sysdep_routines += libc-do-syscall
27 librt-shared-only-routines += libc-do-syscall
28 endif
30 ifeq ($(subdir),nptl)
31 libpthread-sysdep_routines += libc-do-syscall
32 libpthread-shared-only-routines += libc-do-syscall
33 endif
35 ifeq ($(subdir),resolv)
36 libanl-sysdep_routines += libc-do-syscall
37 libanl-shared-only-routines += libc-do-syscall
38 endif
40 ifeq ($(subdir),csu)
41 sysdep_routines += libc-do-syscall
42 endif
44 ifeq ($(subdir),nscd)
45 nscd-modules += libc-do-syscall
46 endif
48 ifeq ($(subdir),nss)
49 libnss_db-sysdep_routines += libc-do-syscall
50 libnss_db-shared-only-routines += libc-do-syscall
51 endif
53 ifeq ($(subdir),posix)
54 LDFLAGS-tst-rfc3484 += $(common-objpfx)csu/libc-do-syscall.o
55 LDFLAGS-tst-rfc3484-2 += $(common-objpfx)csu/libc-do-syscall.o
56 LDFLAGS-tst-rfc3484-3 += $(common-objpfx)csu/libc-do-syscall.o
57 endif
59 abi-variants := soft hard
61 ifeq (,$(filter $(default-abi),$(abi-variants)))
62 Unknown ABI, must be one of $(abi-variants)
63 endif
65 abi-includes :=
66 abi-soft-condition := !defined __ARM_PCS_VFP
67 abi-hard-condition := defined __ARM_PCS_VFP