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