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