mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-11 13:50:06 +00:00
33 lines
863 B
Makefile
33 lines
863 B
Makefile
ifeq ($(subdir),signal)
|
|
#sysdep_routines += sigsuspend
|
|
endif
|
|
|
|
ifeq ($(subdir),misc)
|
|
sysdep_routines += cachectl cacheflush sysmips _test_and_set
|
|
|
|
sysdep_headers += sys/cachectl.h sys/sysmips.h sys/tas.h
|
|
endif
|
|
|
|
# _MIPS_SIM_ABI32 == 1, _MIPS_SIM_NABI32 == 2, _MIPS_SIM_ABI64 == 3
|
|
abi-variants := o32 n32 n64
|
|
abi-includes := sgidefs.h
|
|
abi-o32-options := -D_MIPS_SIM=1
|
|
abi-o32-condition := _MIPS_SIM == _MIPS_SIM_ABI32
|
|
abi-n32-options := -D_MIPS_SIM=2
|
|
abi-n32-condition := _MIPS_SIM == _MIPS_SIM_NABI32
|
|
abi-n64-options := -D_MIPS_SIM=3
|
|
abi-n64-condition := _MIPS_SIM == _MIPS_SIM_ABI64
|
|
|
|
ifeq ($(subdir),elf)
|
|
ifeq ($(build-shared),yes)
|
|
# This is needed for DSO loading from static binaries.
|
|
sysdep-dl-routines += dl-static
|
|
sysdep_routines += dl-static
|
|
sysdep-rtld-routines += dl-static
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(subdir),stdlib)
|
|
gen-as-const-headers += ucontext_i.sym
|
|
endif
|