diff options
| author | Warner Losh <imp@FreeBSD.org> | 2017-10-16 03:59:28 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2017-10-16 03:59:28 +0000 |
| commit | 7f20726e4badbe62a3b6d45a2e61bd68ac1d4cd3 (patch) | |
| tree | 67800699cd92e1f23279262668cca3c3469607db /sys/boot/efi | |
| parent | 7e705f54f8270b7ec5a3ef638bed161cbf0bd532 (diff) | |
Notes
Diffstat (limited to 'sys/boot/efi')
| -rw-r--r-- | sys/boot/efi/boot1/Makefile | 4 | ||||
| -rw-r--r-- | sys/boot/efi/loader/Makefile | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/boot/efi/boot1/Makefile b/sys/boot/efi/boot1/Makefile index 95508df8bbd9..6375a796886f 100644 --- a/sys/boot/efi/boot1/Makefile +++ b/sys/boot/efi/boot1/Makefile @@ -53,9 +53,7 @@ CWARNFLAGS.self_reloc.c+= -Wno-error=maybe-uninitialized .endif # Always add MI sources -.PATH: ${.CURDIR}/../../common -.include "${.CURDIR}/../../common/Makefile.inc" -CFLAGS+= -I${.CURDIR}/../../common +.include "../../loader.mk" .PATH: ${.CURDIR}/arch/${MACHINE} diff --git a/sys/boot/efi/loader/Makefile b/sys/boot/efi/loader/Makefile index 89a58f7c31c2..006e544f19e3 100644 --- a/sys/boot/efi/loader/Makefile +++ b/sys/boot/efi/loader/Makefile @@ -103,9 +103,7 @@ CFLAGS+= -DEFI_STAGING_SIZE=${EFI_STAGING_SIZE} .endif # Always add MI sources -.PATH: ${.CURDIR}/../../common -.include "${.CURDIR}/../../common/Makefile.inc" -CFLAGS+= -I${.CURDIR}/../../common +.include "../../loader.mk" FILES+= loader.efi FILESMODE_loader.efi= ${BINMODE} |
