]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/boot/arm/at91/boot2/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sys / boot / arm / at91 / boot2 / Makefile
1 #  $FreeBSD$
2
3 .PATH: ${.CURDIR}/../libat91 ${.CURDIR}/../bootspi
4
5 P=boot2
6 FILES=${P}
7 SRCS=arm_init.S boot2.c ${BOOT_FLAVOR:tl}_board.c
8 NO_MAN=
9 LDFLAGS=-e 0 -T ${.CURDIR}/../linker.cfg
10 OBJS+=  ${SRCS:N*.h:R:S/$/.o/g}
11
12 .include <bsd.prog.mk>
13
14 .if ${BOOT_FLAVOR} == "kb920x"
15 CFLAGS+=-DBOOT_IIC
16 .endif
17 CFLAGS+= \
18         -I${.CURDIR}/../bootspi \
19         -I${.CURDIR}/../../../common \
20         -I${.CURDIR}/../../../.. \
21         -D_KERNEL \
22         -DUFS1_ONLY