mirror of
https://github.com/ipxe/ipxe
synced 2026-02-14 02:31:26 +03:00
17 lines
363 B
Makefile
17 lines
363 B
Makefile
|
|
# -*- makefile -*- : Force emacs to use Makefile mode
|
||
|
|
|
||
|
|
# Build a position-independent executable, with relocations required
|
||
|
|
# only for data values. Runtime relocations are applied by the
|
||
|
|
# prefix code.
|
||
|
|
#
|
||
|
|
CFLAGS += -mcmodel=medany -fpie
|
||
|
|
LDFLAGS += -pie --no-dynamic-linker
|
||
|
|
|
||
|
|
# Linker script
|
||
|
|
#
|
||
|
|
LDSCRIPT = arch/riscv/scripts/sbi.lds
|
||
|
|
|
||
|
|
# Media types
|
||
|
|
#
|
||
|
|
MEDIA += sbi
|