View | Details | Raw Unified | Return to bug 206031
Collapse All | Expand All

(-)sys/boot/efi/loader/Makefile (+12 lines)
Lines 37-42 Link Here
37
CFLAGS+=	-I${.CURDIR}/../../i386/libi386
37
CFLAGS+=	-I${.CURDIR}/../../i386/libi386
38
CFLAGS+=	-DNO_PCI -DEFI
38
CFLAGS+=	-DNO_PCI -DEFI
39
39
40
.if !defined(BOOT_HIDE_SERIAL_NUMBERS)
41
# Export serial numbers, UUID, and asset tag from loader.
42
CFLAGS+= -DSMBIOS_SERIAL_NUMBERS
43
.if defined(BOOT_LITTLE_ENDIAN_UUID)
44
# Use little-endian UUID format as defined in SMBIOS 2.6.
45
CFLAGS+= -DSMBIOS_LITTLE_ENDIAN_UUID
46
.elif defined(BOOT_NETWORK_ENDIAN_UUID)
47
# Use network-endian UUID format for backward compatibility.
48
CFLAGS+= -DSMBIOS_NETWORK_ENDIAN_UUID
49
.endif
50
.endif
51
40
# make buildenv doesn't set DESTDIR, this means LIBSTAND
52
# make buildenv doesn't set DESTDIR, this means LIBSTAND
41
# will be wrong when crossbuilding.
53
# will be wrong when crossbuilding.
42
.if exists(${.OBJDIR}/../../../../lib/libstand/libstand.a)
54
.if exists(${.OBJDIR}/../../../../lib/libstand/libstand.a)

Return to bug 206031