]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - stand/uboot/lib/Makefile
Merge lld trunk r321017 to contrib/llvm/tools/lld.
[FreeBSD/FreeBSD.git] / stand / uboot / lib / Makefile
1 # $FreeBSD$
2
3 .include <bsd.init.mk>
4
5 .PATH: ${LDRSRC}
6
7 LIB=            uboot
8 INTERNALLIB=
9 WARNS?=         2
10
11 SRCS=   console.c copy.c devicename.c elf_freebsd.c glue.c
12 SRCS+=  module.c net.c reboot.c time.c
13
14 .if ${LOADER_DISK_SUPPORT:Uyes} == "yes"
15 SRCS+= disk.c
16 .endif
17
18 .include        "${BOOTSRC}/fdt.mk"
19
20 # Pick up the bootstrap header for some interface items
21 CFLAGS+=        -I${LDRSRC}
22
23 .ifdef(BOOT_DISK_DEBUG)
24 # Make the disk code more talkative
25 CFLAGS+= -DDISK_DEBUG
26 .endif
27
28 .include <bsd.stand.mk>
29 .include <bsd.lib.mk>