Files
ipxe/src/arch/riscv/Makefile
Michael Brown b23204b383 [riscv] Add support for the SBI debug console
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>
2024-10-22 12:51:48 +01:00

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