1# $FreeBSD: releng/11.0/sys/boot/arm/at91/bootspi/Makefile 265420 2014-05-06 04:22:01Z imp $ 2 3.include <src.opts.mk> 4 5.PATH: ${.CURDIR}/../libat91 6 7P=bootspi 8FILES=${P} 9SRCS=arm_init.S main.c loader_prompt.c env_vars.c ee.c 10MAN= 11LDFLAGS=-e 0 -T ${.CURDIR}/../linker.cfg 12OBJS+= ${SRCS:N*.h:R:S/$/.o/g} 13 14.include <bsd.prog.mk> 15 16.if ${MK_FPGA} == "yes" 17CFLAGS += -DTSC_FPGA 18.endif 19CFLAGS += -DBOOT_COMMANDS 20