diff options
author | Warner Losh <imp@FreeBSD.org> | 2017-11-10 23:54:24 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2017-11-10 23:54:24 +0000 |
commit | 1f9ecdf78f7535e19ad1a58c744e3f62f4bc9032 (patch) | |
tree | e598ae0cf563647218e958bdbd204c53873ceb82 /sys/boot/uboot/lib/Makefile | |
parent | f933edf086759fa6588307dbf8d4897c7b58fa9d (diff) | |
download | src-1f9ecdf78f7535e19ad1a58c744e3f62f4bc9032.tar.gz src-1f9ecdf78f7535e19ad1a58c744e3f62f4bc9032.zip |
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
Notes
Notes:
svn path=/head/; revision=325689
Diffstat (limited to 'sys/boot/uboot/lib/Makefile')
-rw-r--r-- | sys/boot/uboot/lib/Makefile | 9 |
1 files changed, 1 insertions, 8 deletions
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. |