]>
Commit | Line | Data |
---|---|---|
5b118558 | 1 | abi-variants := 32 64-v1 64-v2 |
0ab0291b | 2 | abi-32-condition := __WORDSIZE == 32 |
5b118558 | 3 | abi-64-v1-condition := __WORDSIZE == 64 && _CALL_ELF != 2 |
5b118558 | 4 | abi-64-v2-condition := __WORDSIZE == 64 && _CALL_ELF == 2 |
154bfc16 | 5 | |
e832919b UD |
6 | ifeq ($(subdir),rt) |
7 | librt-routines += rt-sysdep | |
d9067fca | 8 | librt-shared-only-routines += rt-sysdep |
e832919b | 9 | endif |
0c7c6d53 RM |
10 | |
11 | ifeq ($(subdir),stdlib) | |
12 | gen-as-const-headers += ucontext_i.sym | |
13 | endif | |
8c2e201b UD |
14 | |
15 | ifeq ($(subdir),elf) | |
afcd9480 | 16 | # Otherwise tst-tls-dlinfo fails due to tst-tlsmod2.so using static tls. |
f9cd7d5d | 17 | ifeq ($(have-tls-get-addr-optimize),yes) |
afcd9480 | 18 | LDFLAGS-tst-tlsmod2.so += -Wl,--no-tls-get-addr-optimize |
8c2e201b | 19 | endif |
f9cd7d5d | 20 | endif |
8ad11b9a TMQMF |
21 | |
22 | ifeq ($(subdir),misc) | |
6f343c1f | 23 | sysdep_headers += bits/ppc.h |
6e6249d0 | 24 | sysdep_routines += get_timebase_freq |
335c1007 | 25 | tests-static += test-gettimebasefreq-static |
21841f0d MB |
26 | tests += \ |
27 | $(tests-static) \ | |
28 | test-gettimebasefreq \ | |
29 | test-powerpc-linux-sysconf \ | |
30 | tst-hwcap-tunables \ | |
31 | # tests | |
32 | ||
33 | tst-hwcap-tunables-ARGS = -- $(host-test-program-cmd) | |
8ad11b9a | 34 | endif |
1a85970f AM |
35 | |
36 | ifeq ($(subdir),csu) | |
37 | # to relocate stinfo->main | |
38 | CPPFLAGS-libc-start.o += -I../elf | |
39 | CPPFLAGS-libc-start.op += -I../elf | |
40 | endif |