mirror of
https://github.com/ipxe/ipxe
synced 2025-12-07 09:50:26 +03:00
Add the ability to issue Supervisor Binary Interface (SBI) calls via the ECALL instruction, and use the SBI DBCN extension to implement a debug console. Signed-off-by: Michael Brown <mcb30@ipxe.org>
22 lines
461 B
Makefile
22 lines
461 B
Makefile
# Assembler section type character
|
|
#
|
|
ASM_TCHAR := @
|
|
ASM_TCHAR_OPS := @
|
|
|
|
# Include RISCV-specific headers
|
|
#
|
|
INCDIRS := arch/$(ARCH)/include arch/riscv/include $(INCDIRS)
|
|
|
|
# RISCV-specific directories containing source files
|
|
#
|
|
SRCDIRS += arch/riscv/core
|
|
SRCDIRS += arch/riscv/interface/sbi
|
|
|
|
# RISCV-specific flags
|
|
#
|
|
CFLAGS += -mno-strict-align -mno-plt
|
|
|
|
# EFI requires -fshort-wchar, and nothing else currently uses wchar_t
|
|
#
|
|
CFLAGS += -fshort-wchar
|