Home | History | Annotate | Line # | Download | only in bootx64
Makefile revision 1.3
      1 #	$NetBSD: Makefile,v 1.3 2020/03/21 18:43:47 riastradh Exp $
      2 
      3 PROG=		bootx64.efi
      4 OBJFMT=		pei-x86-64
      5 NEWVERSWHAT=	"EFI Boot (x64)"
      6 
      7 EXTRA_SOURCES=	efibootx64.c startprog64.S multiboot64.S
      8 
      9 COPTS+=		-mno-red-zone
     10 CPPFLAGS+=	-DEFI_FUNCTION_WRAPPER
     11 
     12 # Follow the suit of Makefile.kern.inc; needed for the lfs64 union
     13 # accessors -- they don't actually dereference the resulting pointer,
     14 # just use it for type-checking.
     15 CWARNFLAGS.clang+=	-Wno-error=address-of-packed-member
     16 
     17 .include "${.CURDIR}/../Makefile.efiboot"
     18