about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/riscv/Makefile
blob: b7ad31885c450245fb469196a92401f4fa4e8259 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
ifeq ($(subdir),elf)
sysdep_routines	+= dl-vdso
endif

ifeq ($(subdir),misc)
sysdep_headers += sys/cachectl.h
sysdep_routines += flush-icache
endif

ifeq ($(subdir),stdlib)
gen-as-const-headers += ucontext_i.sym
endif

abi-variants := lp64 lp64d

ifeq (,$(filter $(default-abi),$(abi-variants)))
$(error Unknown ABI $(default-abi), must be one of $(abi-variants))
endif

abi-lp64-condition    := defined __LP64__ && defined __riscv_float_abi_soft
abi-lp64d-condition   := defined __LP64__ && defined __riscv_float_abi_double