freebsd-dev/sys/boot/uboot.mk
Warner Losh 1f9ecdf78f Remove LOADER_FDT_SUPPORT as a Makefile variable.
LOADER_FDT_SUPPORT was used inconsistently in the tree. In some
places, it was used to control whether or not the user wanted FDT
included, and in other places it was a command to include
support. Remove it entirely. The former is now enabled -DWITH_FDT,
while the latter is controlled by Makefiles defining HAVE_FDT.

Supported by: Netflix
2017-11-10 23:54:24 +00:00

19 lines
346 B
Makefile

# $FreeBSD$
SRCS+= main.c metadata.c
.PATH: ${UBOOTSRC}/common
CFLAGS+= -I${UBOOTSRC}/common
# U-Boot standalone support library
LIBUBOOT= ${BOOTOBJ}/uboot/lib/libuboot.a
CFLAGS+= -I${UBOOTSRC}/lib
CFLAGS+= -I${BOOTOBJ}/uboot/lib
.include "${BOOTSRC}/fdt.mk"
.if ${MK_FDT} == "yes"
LIBUBOOT_FDT= ${BOOTOBJ}/uboot/fdt/libuboot_fdt.a
.endif