1abi-variants := 32 64-v1 64-v2
2abi-32-condition := __WORDSIZE == 32
3abi-64-v1-condition := __WORDSIZE == 64 && _CALL_ELF != 2
4abi-64-v2-condition := __WORDSIZE == 64 && _CALL_ELF == 2
5
6ifeq ($(subdir),rt)
7librt-routines += rt-sysdep
8librt-shared-only-routines += rt-sysdep
9endif
10
11ifeq ($(subdir),stdlib)
12gen-as-const-headers += ucontext_i.sym
13endif
14
15ifeq ($(subdir),elf)
16# Otherwise tst-tls-dlinfo fails due to tst-tlsmod2.so using static tls.
17ifeq ($(have-tls-get-addr-optimize),yes)
18LDFLAGS-tst-tlsmod2.so += -Wl,--no-tls-get-addr-optimize
19endif
20endif
21
22ifeq ($(subdir),misc)
23sysdep_headers += bits/ppc.h
24sysdep_routines += get_timebase_freq
25tests-static += test-gettimebasefreq-static
26tests += $(tests-static)
27tests += test-gettimebasefreq
28tests += test-powerpc-linux-sysconf
29endif
30