]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/boot/arm/ixp425/Makefile.inc
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sys / boot / arm / ixp425 / Makefile.inc
1 # $FreeBSD$
2
3 .if !target(__ixp425_boot_Makefile.inc__)
4 .PATH:  ${.CURDIR}/../../../../libkern ${.CURDIR}/../../../../libkern/arm
5
6 __ixp425_boot_Makefile.inc__:
7
8 # Both Avila and Pronghorn Metro are supported by ixp425
9 BOOT_FLAVOR=ixp425
10
11 CFLAGS+=-Os -ffreestanding \
12         -I${.CURDIR}/../../../.. \
13         -I${.CURDIR}/../../../../arm \
14         -DCPU_XSCALE_IXP425 \
15         -Wall -Waggregate-return  \
16         -Werror \
17         -Wnested-externs \
18         -Wpointer-arith -Wshadow -Wwrite-strings \
19         -Wmissing-prototypes \
20         -Wmissing-declarations 
21
22 # -Wstrict-prototypes 
23
24 CFLAGS+=-DBOOT_${BOOT_FLAVOR:tu}
25
26 LD ?= ld
27 OBJCOPY ?= objcopy
28
29 .if defined(P)
30 ${P}: ${OBJS}
31         ${LD} ${LDFLAGS} -o ${.TARGET} ${OBJS}
32
33 CLEANFILES+= ${P}
34 .endif
35
36 .if defined(WITH_TAG_LIST)
37 MK_TAG_LIST:=yes
38 .else
39 MK_TAG_LIST:=no
40 .endif
41
42 .endif