]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - stand/uboot/lib/Makefile
loader: remove libsa/crc32.c and use version from zlib
[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 CFLAGS.glue.c+= -DHAVE_MEMCPY -I${SRCTOP}/sys/contrib/zlib
14
15 .if ${LOADER_DISK_SUPPORT:Uyes} == "yes"
16 SRCS+= disk.c
17 .endif
18
19 .include        "${BOOTSRC}/fdt.mk"
20
21 # Pick up the bootstrap header for some interface items
22 CFLAGS+=        -I${LDRSRC}
23
24 .ifdef(BOOT_DISK_DEBUG)
25 # Make the disk code more talkative
26 CFLAGS+= -DDISK_DEBUG
27 .endif
28
29 .include <bsd.lib.mk>