Changeset View
Changeset View
Standalone View
Standalone View
sys/boot/efi/boot1/Makefile
Show All 34 Lines | |||||
# architecture-specific loader code | # architecture-specific loader code | ||||
SRCS= boot1.c self_reloc.c start.S ufs_module.c | SRCS= boot1.c self_reloc.c start.S ufs_module.c | ||||
.if ${MK_ZFS} != "no" | .if ${MK_ZFS} != "no" | ||||
SRCS+= zfs_module.c | SRCS+= zfs_module.c | ||||
SRCS+= skein.c skein_block.c | SRCS+= skein.c skein_block.c | ||||
# Do not unroll skein loops, reduce code size | # Do not unroll skein loops, reduce code size | ||||
CFLAGS+= -DSKEIN_LOOP=111 | CFLAGS+= -DSKEIN_LOOP=111 | ||||
.PATH: ${.CURDIR}/../../../crypto/skein | .PATH: ${.CURDIR}/../../../crypto/skein | ||||
CFLAGS+= -I${SRCTOP}/contrib/zstd/lib | |||||
.endif | .endif | ||||
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} > 40201 | .if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} > 40201 | ||||
CWARNFLAGS.self_reloc.c+= -Wno-error=maybe-uninitialized | CWARNFLAGS.self_reloc.c+= -Wno-error=maybe-uninitialized | ||||
.endif | .endif | ||||
CFLAGS+= -I. | CFLAGS+= -I. | ||||
CFLAGS+= -I${.CURDIR}/../include | CFLAGS+= -I${.CURDIR}/../include | ||||
Show All 34 Lines | |||||
LIBEFI= ${.OBJDIR}/../libefi/libefi.a | LIBEFI= ${.OBJDIR}/../libefi/libefi.a | ||||
# | # | ||||
# Add libstand for the runtime functions used by the compiler - for example | # Add libstand for the runtime functions used by the compiler - for example | ||||
# __aeabi_* (arm) or __divdi3 (i386). | # __aeabi_* (arm) or __divdi3 (i386). | ||||
# as well as required string and memory functions for all platforms. | # as well as required string and memory functions for all platforms. | ||||
# | # | ||||
LIBSTAND= ${OBJTOP}/lib/libstand/libstand.a | |||||
DPADD+= ${LIBEFI} ${LIBSTAND} | DPADD+= ${LIBEFI} ${LIBSTAND} | ||||
LDADD+= ${LIBEFI} -lstand | LDADD+= ${LIBEFI} ${LIBSTAND} | ||||
imp: Just nuke these. The first line isn't needed anymore, and the last line I've already done.
| |||||
DPADD+= ${LDSCRIPT} | DPADD+= ${LDSCRIPT} | ||||
NM?= nm | NM?= nm | ||||
OBJCOPY?= objcopy | OBJCOPY?= objcopy | ||||
.if ${MACHINE_CPUARCH} == "amd64" | .if ${MACHINE_CPUARCH} == "amd64" | ||||
EFI_TARGET= efi-app-x86_64 | EFI_TARGET= efi-app-x86_64 | ||||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |
Just nuke these. The first line isn't needed anymore, and the last line I've already done.