mirror of
https://github.com/ipxe/ipxe
synced 2026-02-14 02:31:26 +03:00
21 lines
424 B
Makefile
21 lines
424 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
|
||
|
|
|
||
|
|
# RISCV-specific flags
|
||
|
|
#
|
||
|
|
CFLAGS += -mno-strict-align -mno-plt
|
||
|
|
|
||
|
|
# EFI requires -fshort-wchar, and nothing else currently uses wchar_t
|
||
|
|
#
|
||
|
|
CFLAGS += -fshort-wchar
|