From 1f9ecdf78f7535e19ad1a58c744e3f62f4bc9032 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 10 Nov 2017 23:54:24 +0000 Subject: 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 --- sys/boot/uboot/lib/Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'sys/boot/uboot/lib/Makefile') diff --git a/sys/boot/uboot/lib/Makefile b/sys/boot/uboot/lib/Makefile index 13dee0e22f62..6eebbaaa33e7 100644 --- a/sys/boot/uboot/lib/Makefile +++ b/sys/boot/uboot/lib/Makefile @@ -17,14 +17,7 @@ CFLAGS+= -ffreestanding -msoft-float SRCS+= disk.c .endif -LOADER_FDT_SUPPORT= ${MK_FDT} - -.if ${LOADER_FDT_SUPPORT} == "yes" -CFLAGS+= -DLOADER_FDT_SUPPORT -I${FDTSRC} -.endif - -# Pick up FDT includes -CFLAGS+= -I${SYSDIR}/contrib/libfdt/ +.include "${BOOTSRC}/fdt.mk" # Pick up the bootstrap header for some interface items CFLAGS+= -I${LDRSRC} -I${SYSDIR} -I. -- cgit v1.2.3