mirror of
https://github.com/opnsense/src.git
synced 2026-02-25 11:00:15 -05:00
we have crc32(const void *, size_t) in libsa. Unfortunately zlib has crc32(long, const unigned char *, unsigned) and we have conflict. Since we do build libsa with zlib, we can use zlib version instead. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D24068
29 lines
518 B
Makefile
29 lines
518 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
.PATH: ${LDRSRC}
|
|
|
|
LIB= uboot
|
|
WARNS?= 2
|
|
|
|
SRCS= console.c copy.c devicename.c elf_freebsd.c glue.c
|
|
SRCS+= module.c net.c reboot.c time.c
|
|
|
|
CFLAGS.glue.c+= -DHAVE_MEMCPY -I${SRCTOP}/sys/contrib/zlib
|
|
|
|
.if ${LOADER_DISK_SUPPORT:Uyes} == "yes"
|
|
SRCS+= disk.c
|
|
.endif
|
|
|
|
.include "${BOOTSRC}/fdt.mk"
|
|
|
|
# Pick up the bootstrap header for some interface items
|
|
CFLAGS+= -I${LDRSRC}
|
|
|
|
.ifdef(BOOT_DISK_DEBUG)
|
|
# Make the disk code more talkative
|
|
CFLAGS+= -DDISK_DEBUG
|
|
.endif
|
|
|
|
.include <bsd.lib.mk>
|