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