Tweaks for better boot flavor support.
This commit is contained in:
parent
823e575ded
commit
fc399b46b5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user