1ifeq ($(subdir),stdlib)
2gen-as-const-headers += ucontext_i.sym
3endif
4
5ifeq ($(subdir),signal)
6sysdep_routines += sigrestorer
7endif
8
9ifeq ($(subdir),misc)
10# MIPS/Tile-style cacheflush routine
11sysdep_headers += sys/cachectl.h
12sysdep_routines += cacheflush
13endif
14
15abi-variants := arcle arcbe
16
17ifeq (,$(filter $(default-abi),$(abi-variants)))
18$(error Unknown ABI $(default-abi), must be one of $(abi-variants))
19endif
20
21abi-arcle-condition := !defined __BIG_ENDIAN__
22abi-arcbe-condition := defined __BIG_ENDIAN__
23