diff options
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/efi/libefi/Makefile | 2 | ||||
-rw-r--r-- | sys/boot/efi/loader/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/efi/libefi/Makefile b/sys/boot/efi/libefi/Makefile index a9441a404ce2..058a86cbb50c 100644 --- a/sys/boot/efi/libefi/Makefile +++ b/sys/boot/efi/libefi/Makefile @@ -14,7 +14,7 @@ SRCS+= time_event.c .endif .if defined(LOADER_TFTP_SUPPORT) -CFLAGS+= -DLOADER_TFTP_SUPPORT +CFLAGS+= -DLOADER_TFTP_SUPPORT -DNETIF_OPEN_CLOSE_ONCE .endif # We implement a slightly non-standard %S in that it always takes a diff --git a/sys/boot/efi/loader/Makefile b/sys/boot/efi/loader/Makefile index e811b5053bca..5e193596badb 100644 --- a/sys/boot/efi/loader/Makefile +++ b/sys/boot/efi/loader/Makefile @@ -22,7 +22,7 @@ SRCS= autoload.c \ vers.c .if defined(LOADER_TFTP_SUPPORT) -CFLAGS+= -DLOADER_TFTP_SUPPORT +CFLAGS+= -DLOADER_TFTP_SUPPORT -DNETIF_OPEN_CLOSE_ONCE .endif .if ${MK_ZFS} != "no" |