mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-21 18:50:50 +01:00
boot1.efi: Don't redundantly include devpath.c
devpath.c is on both the comand line and in libefi. This is redundant and was a mistake in4cf36aa101
. It never should have been here. In practice, this just means that the devpath.o from libefi.a goes unused. This will cause problems with some upcoming changes (D44872) to enable LTO to reduce the size of the binaries, so go ahead and make the change now to reduce the changeset for that. No functional change indended. Fixes:4cf36aa101
Co-authored-by: sobomax Sponsored by: Netflix
This commit is contained in:
parent
d84fd89ecd
commit
75e5f5916e
@ -29,7 +29,7 @@ CWARNFLAGS.zfs_module.c += -Wno-unused-parameter
|
||||
CWARNFLAGS.zfs_module.c += -Wno-unused-function
|
||||
|
||||
# architecture-specific loader code
|
||||
SRCS+= boot1.c proto.c self_reloc.c start.S ufs_module.c devpath.c
|
||||
SRCS+= boot1.c proto.c self_reloc.c start.S ufs_module.c
|
||||
.if ${MK_LOADER_ZFS} != "no"
|
||||
SRCS+= zfs_module.c
|
||||
CFLAGS.zfs_module.c+= -I${ZFSSRC}
|
||||
@ -58,7 +58,6 @@ CFLAGS+= -DEFI_DEBUG
|
||||
.PATH: ${EFISRC}/loader/arch/${MACHINE}
|
||||
.PATH: ${EFISRC}/loader
|
||||
.PATH: ${LDRSRC}
|
||||
.PATH: ${EFISRC}/libefi
|
||||
CFLAGS+= -I${LDRSRC}
|
||||
|
||||
FILES= ${BOOT1}.efi
|
||||
|
Loading…
Reference in New Issue
Block a user