]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - sys/boot/uboot/fdt/Makefile
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / sys / boot / uboot / fdt / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 .PATH: ${.CURDIR}/../../common
6
7 LIB=            uboot_fdt
8 INTERNALLIB=
9 WARNS?=         2
10
11 SRCS=           uboot_fdt.c
12
13 CFLAGS+=        -ffreestanding -msoft-float
14
15 CFLAGS+=        -I${.CURDIR}/../../../../lib/libstand/
16
17 # U-Boot library headers
18 CFLAGS+=        -I${.CURDIR}/../lib
19
20 # libfdt headers
21 CFLAGS+=        -I${.CURDIR}/../../fdt
22
23 # Pick up the bootstrap header for some interface items
24 CFLAGS+=        -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I.
25
26 machine:
27         ln -sf ${.CURDIR}/../../../${MACHINE_CPUARCH}/include machine
28
29 CLEANFILES+=    machine
30
31 .include <bsd.lib.mk>
32
33 beforedepend ${OBJS}: machine