]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - stand/fdt/Makefile
Stop building with the standard system headers.
[FreeBSD/FreeBSD.git] / stand / fdt / Makefile
1 # $FreeBSD$
2
3 .include <bsd.init.mk>
4
5 .PATH:          ${SYSDIR}/contrib/libfdt/
6
7 LIB=            fdt
8 INTERNALLIB=
9
10 # Vendor sources of libfdt.
11 SRCS+=          fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c \
12                 fdt_empty_tree.c
13
14 # Loader's fdt commands extension sources.
15 SRCS+=          fdt_loader_cmd.c fdt_overlay.c
16
17 CFLAGS+=        -I${SYSDIR}/contrib/libfdt/ -I${LDRSRC}
18
19 CFLAGS+=        -Wformat -Wall
20
21 .include <bsd.stand.mk>
22 .include <bsd.lib.mk>