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