Changeset View
Changeset View
Standalone View
Standalone View
sys/boot/efi/loader/Makefile
Show All 17 Lines | SRCS= autoload.c \ | ||||
conf.c \ | conf.c \ | ||||
copy.c \ | copy.c \ | ||||
devicename.c \ | devicename.c \ | ||||
main.c \ | main.c \ | ||||
self_reloc.c \ | self_reloc.c \ | ||||
smbios.c \ | smbios.c \ | ||||
vers.c | vers.c | ||||
.if ${MK_ZFS} != "no" | |||||
SRCS+= zfs.c | |||||
dim: I had to add a `.PATH` entry here, to make it build:
.PATH: ${.CURDIR}/../../zfs
| |||||
.PATH: ${.CURDIR}/../../zfs | |||||
.endif | |||||
.PATH: ${.CURDIR}/arch/${MACHINE} | .PATH: ${.CURDIR}/arch/${MACHINE} | ||||
# For smbios.c | # For smbios.c | ||||
.PATH: ${.CURDIR}/../../i386/libi386 | .PATH: ${.CURDIR}/../../i386/libi386 | ||||
.include "${.CURDIR}/arch/${MACHINE}/Makefile.inc" | .include "${.CURDIR}/arch/${MACHINE}/Makefile.inc" | ||||
CFLAGS+= -I${.CURDIR} | CFLAGS+= -I${.CURDIR} | ||||
CFLAGS+= -I${.CURDIR}/arch/${MACHINE} | CFLAGS+= -I${.CURDIR}/arch/${MACHINE} | ||||
CFLAGS+= -I${.CURDIR}/../include | CFLAGS+= -I${.CURDIR}/../include | ||||
CFLAGS+= -I${.CURDIR}/../include/${MACHINE} | CFLAGS+= -I${.CURDIR}/../include/${MACHINE} | ||||
CFLAGS+= -I${.CURDIR}/../../../contrib/dev/acpica/include | CFLAGS+= -I${.CURDIR}/../../../contrib/dev/acpica/include | ||||
CFLAGS+= -I${.CURDIR}/../../.. | CFLAGS+= -I${.CURDIR}/../../.. | ||||
CFLAGS+= -I${.CURDIR}/../../i386/libi386 | CFLAGS+= -I${.CURDIR}/../../i386/libi386 | ||||
.if ${MK_ZFS} != "no" | |||||
CFLAGS+= -I${.CURDIR}/../../zfs | |||||
CFLAGS+= -I${.CURDIR}/../../../cddl/boot/zfs | |||||
CFLAGS+= -DEFI_ZFS_BOOT | |||||
# For zfsimpl.c | |||||
CWARNFLAGS+= -Wno-array-bounds | |||||
.endif | |||||
CFLAGS+= -DNO_PCI -DEFI | CFLAGS+= -DNO_PCI -DEFI | ||||
# make buildenv doesn't set DESTDIR, this means LIBSTAND | # make buildenv doesn't set DESTDIR, this means LIBSTAND | ||||
# will be wrong when crossbuilding. | # will be wrong when crossbuilding. | ||||
.if exists(${.OBJDIR}/../../../../lib/libstand/libstand.a) | .if exists(${.OBJDIR}/../../../../lib/libstand/libstand.a) | ||||
LIBSTAND= ${.OBJDIR}/../../../../lib/libstand/libstand.a | LIBSTAND= ${.OBJDIR}/../../../../lib/libstand/libstand.a | ||||
.endif | .endif | ||||
▲ Show 20 Lines • Show All 87 Lines • Show Last 20 Lines |
I had to add a .PATH entry here, to make it build: