mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-12 14:20:13 +00:00
32 lines
853 B
Makefile
32 lines
853 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
|
|
|
|
syscall-list-variants := o32 n32 n64
|
|
syscall-list-includes := sgidefs.h
|
|
syscall-list-o32-options := -mabi=32
|
|
syscall-list-o32-condition := _MIPS_SIM == _MIPS_SIM_ABI32
|
|
syscall-list-n32-options := -mabi=n32
|
|
syscall-list-n32-condition := _MIPS_SIM == _MIPS_SIM_ABIN32
|
|
syscall-list-n64-options := -mabi=64
|
|
syscall-list-n64-condition := _MIPS_SIM == _MIPS_SIM_ABI64
|
|
endif
|
|
|
|
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
|