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.
12 lines
148 B
Makefile
12 lines
148 B
Makefile
# $FreeBSD$
|
|
|
|
P=boot0
|
|
FILES=${P}
|
|
SRCS=arm_init.s main.c
|
|
NO_MAN=
|
|
LDFLAGS=-e 0 -T linker.cfg
|
|
OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
|
|
|
|
.include <bsd.prog.mk>
|
|
|