Debian Codegraph @

sysdeps/unix/sysv/linux/arm/Makefile

raw
1 ifeq ($(subdir),elf)
2 sysdep-rtld-routines += aeabi_read_tp libc-do-syscall
3 # The test uses INTERNAL_SYSCALL_CALL. In thumb mode, this uses
4 # an undefined reference to __libc_do_syscall.
5 CFLAGS-tst-nolink-libc.c += -marm
6 endif
7
8 ifeq ($(subdir),misc)
9 sysdep_routines += ioperm
10 sysdep_headers += sys/elf.h
11 endif
12
13 ifeq ($(subdir),signal)
14 sysdep_routines += sigrestorer
15 endif
16
17 ifeq ($(subdir),stdlib)
18 gen-as-const-headers += ucontext_i.sym
19 endif
20
21 # Add a syscall function to each library that needs one.
22
23 ifeq ($(subdir),rt)
24 librt-sysdep_routines += libc-do-syscall
25 librt-shared-only-routines += libc-do-syscall
26 endif
27
28 ifeq ($(subdir),resolv)
29 libanl-sysdep_routines += libc-do-syscall
30 libanl-shared-only-routines += libc-do-syscall
31 endif
32
33 ifeq ($(subdir),csu)
34 sysdep_routines += libc-do-syscall
35 endif
36
37 ifeq ($(subdir),nscd)
38 nscd-modules += libc-do-syscall
39 endif
40
41 ifeq ($(subdir),nss)
42 libnss_db-sysdep_routines += libc-do-syscall
43 libnss_db-shared-only-routines += libc-do-syscall
44 LDFLAGS-tst-rfc3484 += $(common-objpfx)csu/libc-do-syscall.o
45 LDFLAGS-tst-rfc3484-2 += $(common-objpfx)csu/libc-do-syscall.o
46 LDFLAGS-tst-rfc3484-3 += $(common-objpfx)csu/libc-do-syscall.o
47 endif
48
49 abi-variants := soft hard
50
51 ifeq (,$(filter $(default-abi),$(abi-variants)))
52 Unknown ABI, must be one of $(abi-variants)
53 endif
54
55 abi-includes :=
56 abi-soft-condition := !defined __ARM_PCS_VFP
57 abi-hard-condition := defined __ARM_PCS_VFP