2013-12-04 13:08:48 +00:00
|
|
|
abi-variants := 32 64-v1 64-v2
|
2012-05-26 17:46:59 +00:00
|
|
|
abi-32-condition := __WORDSIZE == 32
|
2013-12-04 13:08:48 +00:00
|
|
|
abi-64-v1-condition := __WORDSIZE == 64 && _CALL_ELF != 2
|
|
|
|
abi-64-v2-condition := __WORDSIZE == 64 && _CALL_ELF == 2
|
2011-12-22 18:22:50 +00:00
|
|
|
|
2004-04-19 06:19:34 +00:00
|
|
|
ifeq ($(subdir),rt)
|
|
|
|
librt-routines += rt-sysdep
|
2016-08-17 12:57:00 +00:00
|
|
|
librt-shared-only-routines += rt-sysdep
|
2004-04-19 06:19:34 +00:00
|
|
|
endif
|
2005-12-22 05:18:34 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),stdlib)
|
|
|
|
gen-as-const-headers += ucontext_i.sym
|
|
|
|
endif
|
2005-12-30 07:32:48 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),elf)
|
2015-03-25 05:23:47 +00:00
|
|
|
# Otherwise tst-tls-dlinfo fails due to tst-tlsmod2.so using static tls.
|
2021-08-24 16:26:44 +00:00
|
|
|
ifeq ($(have-tls-get-addr-optimize),yes)
|
2015-03-25 05:23:47 +00:00
|
|
|
LDFLAGS-tst-tlsmod2.so += -Wl,--no-tls-get-addr-optimize
|
2005-12-30 07:32:48 +00:00
|
|
|
endif
|
2021-08-24 16:26:44 +00:00
|
|
|
endif
|
2012-09-25 19:48:28 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),misc)
|
2018-10-09 21:57:53 +00:00
|
|
|
sysdep_headers += bits/ppc.h
|
2012-10-24 21:50:46 +00:00
|
|
|
sysdep_routines += get_timebase_freq
|
2019-06-19 20:15:35 +00:00
|
|
|
tests-static += test-gettimebasefreq-static
|
|
|
|
tests += $(tests-static)
|
2012-09-25 19:48:28 +00:00
|
|
|
tests += test-gettimebasefreq
|
2017-06-09 17:36:22 +00:00
|
|
|
tests += test-powerpc-linux-sysconf
|
2012-09-25 19:48:28 +00:00
|
|
|
endif
|
2022-01-23 23:55:49 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),csu)
|
|
|
|
# to relocate stinfo->main
|
|
|
|
CPPFLAGS-libc-start.o += -I../elf
|
|
|
|
CPPFLAGS-libc-start.op += -I../elf
|
|
|
|
endif
|