ae78672c56
o Use a directory layout that is more akin to the i386 boot layout. o Create a libat91 for library routines that are used by one or more of the boot loaders. o Create bootiic for booting from an iic part. o Create bootspi for booting from an spi part. o Optimize the size of many of these routines (especially emac.c). Except for the emac.c optimizations, all these have been tested. o eliminate the inc directory, libat91 superceeds it. o Move linker.cfg up a layer to allow it to be shared.
11 lines
163 B
Makefile
11 lines
163 B
Makefile
# $FreeBSD$
|
|
|
|
P=bootspi
|
|
FILES=${P}
|
|
SRCS=arm_init.s main.c
|
|
NO_MAN=
|
|
LDFLAGS=-e 0 -T ${.CURDIR}/../linker.cfg
|
|
OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
|
|
|
|
.include <bsd.prog.mk>
|