2017-10-22 23:52:27 +01:00
|
|
|
.include <bsd.init.mk>
|
|
|
|
|
|
|
|
.PATH: ${SYSDIR}/contrib/libfdt/
|
2010-05-25 16:21:39 +01:00
|
|
|
|
|
|
|
LIB= fdt
|
|
|
|
|
|
|
|
# Vendor sources of libfdt.
|
2015-01-05 16:52:25 +00:00
|
|
|
SRCS+= fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c \
|
2018-01-18 04:39:09 +00:00
|
|
|
fdt_empty_tree.c fdt_addresses.c fdt_overlay.c
|
2010-05-25 16:21:39 +01:00
|
|
|
|
|
|
|
# Loader's fdt commands extension sources.
|
2018-01-18 04:39:09 +00:00
|
|
|
SRCS+= fdt_loader_cmd.c
|
2010-05-25 16:21:39 +01:00
|
|
|
|
2017-10-29 05:27:22 +00:00
|
|
|
CFLAGS+= -I${SYSDIR}/contrib/libfdt/ -I${LDRSRC}
|
2010-05-25 16:21:39 +01:00
|
|
|
|
|
|
|
CFLAGS+= -Wformat -Wall
|
|
|
|
|
2021-04-30 18:53:45 +01:00
|
|
|
.include "${BOOTSRC}/veriexec.mk"
|
|
|
|
|
2010-05-25 16:21:39 +01:00
|
|
|
.include <bsd.lib.mk>
|