Makefile revision 329146
1# $FreeBSD: stable/11/stand/uboot/lib/Makefile 329146 2018-02-12 01:17:06Z kevans $
2
3.include <bsd.init.mk>
4
5.PATH: ${LDRSRC}
6
7LIB=		uboot
8INTERNALLIB=
9WARNS?=		2
10
11SRCS=	console.c copy.c devicename.c elf_freebsd.c glue.c
12SRCS+=	module.c net.c reboot.c time.c
13
14.if ${LOADER_DISK_SUPPORT:Uyes} == "yes"
15SRCS+= disk.c
16.endif
17
18.include	"${BOOTSRC}/fdt.mk"
19
20# Pick up the bootstrap header for some interface items
21CFLAGS+=	-I${LDRSRC}
22
23.ifdef(BOOT_DISK_DEBUG)
24# Make the disk code more talkative
25CFLAGS+= -DDISK_DEBUG
26.endif
27
28.include <bsd.stand.mk>
29.include <bsd.lib.mk>
30