184ed5f988
Massive update. The highlights: o dramatically cut memory usage by writing better, less intertwingled code. o implement booting off mmc/sd cards (sd only tested one at the moment) o start to split out board specific stuff for boot2.
20 lines
337 B
Makefile
20 lines
337 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../bootspi
|
|
|
|
P=boot2
|
|
FILES=${P}
|
|
SRCS=arm_init.S boot2.c kb920x_board.c ee.c
|
|
NO_MAN=
|
|
LDFLAGS=-e 0 -T ${.CURDIR}/../linker.cfg
|
|
OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
CFLAGS+= \
|
|
-I${.CURDIR}/../bootspi \
|
|
-I${.CURDIR}/../../../common \
|
|
-I${.CURDIR}/../../../.. \
|
|
-D_KERNEL \
|
|
-DUFS1_ONLY
|