3bdf775801
and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
23 lines
419 B
Makefile
23 lines
419 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../libat91 ${.CURDIR}/../bootspi
|
|
|
|
P=boot2
|
|
FILES=${P}
|
|
SRCS=arm_init.S boot2.c ${BOOT_FLAVOR:tl}_board.c
|
|
MAN=
|
|
LDFLAGS=-e 0 -T ${.CURDIR}/../linker.cfg
|
|
OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.if ${BOOT_FLAVOR} == "kb920x"
|
|
CFLAGS+=-DBOOT_IIC
|
|
.endif
|
|
CFLAGS+= \
|
|
-I${.CURDIR}/../bootspi \
|
|
-I${.CURDIR}/../../../common \
|
|
-I${.CURDIR}/../../../.. \
|
|
-D_KERNEL \
|
|
-DUFS1_ONLY
|