summaryrefslogtreecommitdiffstats
path: root/sys/boot/arm
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-11-16 00:48:04 +0000
committerimp <imp@FreeBSD.org>2006-11-16 00:48:04 +0000
commitfc399b46b5ba0c632b1153cfccfb745ea5900216 (patch)
tree2ee89e9a5c76ac1563057cec724083e70bcbed73 /sys/boot/arm
parent823e575dede2514230f04b76571582c93a2aebab (diff)
downloadFreeBSD-src-fc399b46b5ba0c632b1153cfccfb745ea5900216.zip
FreeBSD-src-fc399b46b5ba0c632b1153cfccfb745ea5900216.tar.gz
Tweaks for better boot flavor support.
Diffstat (limited to 'sys/boot/arm')
-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