mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-02 01:40:07 +00:00
72dfddeffc
This patch lays out the top-level organisation of the RISC-V 32-bit port. It provides all the Implies files as well as various other fragments of the build infrastructure. Reviewed-by: Maciej W. Rozycki <macro@wdc.com>
20 lines
637 B
Makefile
20 lines
637 B
Makefile
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 := ilp32 ilp32d lp64 lp64d
|
|
|
|
ifeq (,$(filter $(default-abi),$(abi-variants)))
|
|
$(error Unknown ABI $(default-abi), must be one of $(abi-variants))
|
|
endif
|
|
|
|
abi-ilp32-condition := __WORDSIZE == 32 && defined __riscv_float_abi_soft
|
|
abi-ilp32d-condition := __WORDSIZE == 32 && defined __riscv_float_abi_double
|
|
abi-lp64-condition := __WORDSIZE == 64 && defined __riscv_float_abi_soft
|
|
abi-lp64d-condition := __WORDSIZE == 64 && defined __riscv_float_abi_double
|