Deleted Added
full compact
Makefile (329183) Makefile (344377)
1# $FreeBSD: stable/11/stand/efi/boot1/Makefile 329183 2018-02-12 20:51:28Z kevans $
1# $FreeBSD: stable/11/stand/efi/boot1/Makefile 344377 2019-02-20 19:13:09Z kevans $
2
3.include <bsd.init.mk>
4
5PROG= boot1.sym
6INTERNALPROG=
7WARNS?= 6
8
9# We implement a slightly non-standard %S in that it always takes a

--- 15 unchanged lines hidden (view full) ---

25# architecture-specific loader code
26SRCS= boot1.c self_reloc.c start.S ufs_module.c
27.if ${MK_ZFS} != "no"
28SRCS+= zfs_module.c
29CFLAGS.zfs_module.c+= -I${ZFSSRC}
30CFLAGS.zfs_module.c+= -I${SYSDIR}/cddl/boot/zfs
31CFLAGS.zfs_module.c+= -I${SYSDIR}/crypto/skein
32CFLAGS+= -DEFI_ZFS_BOOT
2
3.include <bsd.init.mk>
4
5PROG= boot1.sym
6INTERNALPROG=
7WARNS?= 6
8
9# We implement a slightly non-standard %S in that it always takes a

--- 15 unchanged lines hidden (view full) ---

25# architecture-specific loader code
26SRCS= boot1.c self_reloc.c start.S ufs_module.c
27.if ${MK_ZFS} != "no"
28SRCS+= zfs_module.c
29CFLAGS.zfs_module.c+= -I${ZFSSRC}
30CFLAGS.zfs_module.c+= -I${SYSDIR}/cddl/boot/zfs
31CFLAGS.zfs_module.c+= -I${SYSDIR}/crypto/skein
32CFLAGS+= -DEFI_ZFS_BOOT
33LIBZFSBOOT= ${BOOTOBJ}/zfs/libzfsboot.a
34.endif
35
36.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} > 40201
37CWARNFLAGS.self_reloc.c+= -Wno-error=maybe-uninitialized
38.endif
39
40CFLAGS+= -I${EFIINC}
41CFLAGS+= -I${EFIINCMD}

--- 25 unchanged lines hidden (view full) ---

67
68LIBEFI= ${BOOTOBJ}/efi/libefi/libefi.a
69
70#
71# Add libstand for the runtime functions used by the compiler - for example
72# __aeabi_* (arm) or __divdi3 (i386).
73# as well as required string and memory functions for all platforms.
74#
33.endif
34
35.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} > 40201
36CWARNFLAGS.self_reloc.c+= -Wno-error=maybe-uninitialized
37.endif
38
39CFLAGS+= -I${EFIINC}
40CFLAGS+= -I${EFIINCMD}

--- 25 unchanged lines hidden (view full) ---

66
67LIBEFI= ${BOOTOBJ}/efi/libefi/libefi.a
68
69#
70# Add libstand for the runtime functions used by the compiler - for example
71# __aeabi_* (arm) or __divdi3 (i386).
72# as well as required string and memory functions for all platforms.
73#
75DPADD+= ${LIBEFI} ${LIBZFSBOOT} ${LIBSA}
76LDADD+= ${LIBEFI} ${LIBZFSBOOT} ${LIBSA}
74DPADD+= ${LIBEFI} ${LIBSA}
75LDADD+= ${LIBEFI} ${LIBSA}
77
78DPADD+= ${LDSCRIPT}
79
80NM?= nm
81OBJCOPY?= objcopy
82
83.if ${MACHINE_CPUARCH} == "amd64"
84EFI_TARGET= efi-app-x86_64

--- 39 unchanged lines hidden ---
76
77DPADD+= ${LDSCRIPT}
78
79NM?= nm
80OBJCOPY?= objcopy
81
82.if ${MACHINE_CPUARCH} == "amd64"
83EFI_TARGET= efi-app-x86_64

--- 39 unchanged lines hidden ---