summaryrefslogtreecommitdiffstats
path: root/stand/uboot/fdt/Makefile
blob: 4bc38ec7c6f07fadaba06bae137a5707d7107dc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $FreeBSD$

.include <bsd.init.mk>

.PATH: ${LDRSRC}

LIB=		uboot_fdt
INTERNALLIB=
WARNS?=		2

SRCS=		uboot_fdt.c

CFLAGS+=	-ffreestanding -msoft-float

# U-Boot library headers
CFLAGS+=	-I${UBOOTSRC}/lib

# libfdt headers
CFLAGS+=	-I${FDTSRC}

# Pick up the bootstrap header for some interface items
CFLAGS+=	-I${LDRSRC}

.include <bsd.stand.mk>
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud