build-many-glibcs.py: Add openrisc hard float glibc variant
[glibc.git] / sysdeps / unix / sysv / linux / arm / Makefile
bloba73c897f43c9a206f02eb0c6a8b56b3437fc6438
1 ifeq ($(subdir),elf)
2 sysdep-rtld-routines += aeabi_read_tp libc-do-syscall
3 endif
5 ifeq ($(subdir),misc)
6 sysdep_routines += ioperm
7 sysdep_headers += sys/elf.h
8 endif
10 ifeq ($(subdir),signal)
11 sysdep_routines += sigrestorer
12 endif
14 ifeq ($(subdir),stdlib)
15 gen-as-const-headers += ucontext_i.sym
16 endif
18 # Add a syscall function to each library that needs one.
20 ifeq ($(subdir),rt)
21 librt-sysdep_routines += libc-do-syscall
22 librt-shared-only-routines += libc-do-syscall
23 endif
25 ifeq ($(subdir),resolv)
26 libanl-sysdep_routines += libc-do-syscall
27 libanl-shared-only-routines += libc-do-syscall
28 endif
30 ifeq ($(subdir),csu)
31 sysdep_routines += libc-do-syscall
32 endif
34 ifeq ($(subdir),nscd)
35 nscd-modules += libc-do-syscall
36 endif
38 ifeq ($(subdir),nss)
39 libnss_db-sysdep_routines += libc-do-syscall
40 libnss_db-shared-only-routines += libc-do-syscall
41 LDFLAGS-tst-rfc3484 += $(common-objpfx)csu/libc-do-syscall.o
42 LDFLAGS-tst-rfc3484-2 += $(common-objpfx)csu/libc-do-syscall.o
43 LDFLAGS-tst-rfc3484-3 += $(common-objpfx)csu/libc-do-syscall.o
44 endif
46 abi-variants := soft hard
48 ifeq (,$(filter $(default-abi),$(abi-variants)))
49 Unknown ABI, must be one of $(abi-variants)
50 endif
52 abi-includes :=
53 abi-soft-condition := !defined __ARM_PCS_VFP
54 abi-hard-condition := defined __ARM_PCS_VFP