1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-21 07:15:49 +00:00
freebsd/lib/libfdt/Makefile
Mark Johnston f29af8618b libfdt: Make an internal FDT library available
This will be used by bhyve to build a device tree when booting arm64
guests.

Reviewed by:	corvink, jhb
MFC after:	1 week
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D40994
2024-03-21 01:05:05 -04:00

30 lines
373 B
Makefile

LIB= fdt
INTERNALLIB=
LIBFDTSRCDIR= ${SRCTOP}/sys/contrib/libfdt
.PATH: ${LIBFDTSRCDIR}
SRCS= \
fdt.c \
fdt_addresses.c \
fdt_empty_tree.c \
fdt_overlay.c \
fdt_ro.c \
fdt_rw.c \
fdt_strerror.c \
fdt_sw.c \
fdt_wip.c
INCS= \
fdt.h \
libfdt.h \
ibfdt_env.h
CFLAGS+= -I${LIBFDTSRCDIR}
WARNS?= 2
MAN=
.include <bsd.lib.mk>