summaryrefslogtreecommitdiffstats
path: root/sys/boot/arm/at91/boot2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/arm/at91/boot2/Makefile')
-rw-r--r--sys/boot/arm/at91/boot2/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/boot/arm/at91/boot2/Makefile b/sys/boot/arm/at91/boot2/Makefile
index f7c0873..8205425 100644
--- a/sys/boot/arm/at91/boot2/Makefile
+++ b/sys/boot/arm/at91/boot2/Makefile
@@ -1,19 +1,16 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../libat91
+.PATH: ${.CURDIR}/../libat91 ${.CURDIR}/../bootspi
P=boot2
FILES=${P}
-SRCS=arm_init.S boot2.c ${BOOT_FLAVOR}_board.c
+SRCS=arm_init.S boot2.c ${BOOT_FLAVOR:L}_board.c
NO_MAN=
LDFLAGS=-e 0 -T ${.CURDIR}/../linker.cfg
OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
.include <bsd.prog.mk>
-.if ${BOOT_FLAVOR} == "tsc"
-SRCS+=ee.c
-.endif
.if ${BOOT_FLAVOR} == "kb920x"
CFLAGS+=-DBOOT_IIC
.endif
OpenPOWER on IntegriCloud