1# The default ABI is 32.
2default-abi := 32
3
4ifeq ($(subdir),misc)
5sysdep_routines += ioperm iopl vm86
6
7tests += tst-bz21269
8endif
9
10ifeq ($(subdir),elf)
11sysdep-dl-routines += libc-do-syscall
12sysdep-others += lddlibc4
13install-bin += lddlibc4
14endif
15
16ifeq ($(subdir),io)
17sysdep_routines += libc-do-syscall
18endif
19
20ifeq ($(subdir),stdlib)
21gen-as-const-headers += ucontext_i.sym
22endif
23
24ifeq ($(subdir),csu)
25sysdep-dl-routines += sysdep
26ifeq (yes,$(build-shared))
27sysdep_routines += divdi3
28shared-only-routines += divdi3
29CPPFLAGS-divdi3.c = -Din_divdi3_c
30endif
31endif
32
33ifeq ($(subdir),rt)
34# pull in __syscall_error routine
35librt-routines += sysdep
36librt-shared-only-routines += sysdep
37endif
38