]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/boot/uboot/lib/Makefile
Re-sync loader.mk and ficl.mk to where they should be
[FreeBSD/FreeBSD.git] / sys / boot / 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 CFLAGS+=        -ffreestanding -msoft-float
15
16 .if ${LOADER_DISK_SUPPORT:Uyes} == "yes"
17 SRCS+= disk.c
18 .endif
19
20 .include        "${BOOTSRC}/fdt.mk"
21
22 # Pick up the bootstrap header for some interface items
23 CFLAGS+=        -I${LDRSRC}
24
25 .ifdef(BOOT_DISK_DEBUG)
26 # Make the disk code more talkative
27 CFLAGS+= -DDISK_DEBUG
28 .endif
29
30 .include <bsd.stand.mk>
31 .include <bsd.lib.mk>