glibc/sysdeps/unix/sysv/linux/mips/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