summaryrefslogtreecommitdiffstats
path: root/sys/boot/arm
diff options
context:
space:
mode:
authorraj <raj@FreeBSD.org>2010-06-13 12:46:32 +0000
committerraj <raj@FreeBSD.org>2010-06-13 12:46:32 +0000
commitac8e9a3b12f627c30db964eb028ecb2d57d0125c (patch)
tree5127cf0288cde21b76254071b6f3ee07ab66192a /sys/boot/arm
parentf78d8ab6d94a4542f6914cff3380cc8d4137326f (diff)
downloadFreeBSD-src-ac8e9a3b12f627c30db964eb028ecb2d57d0125c.zip
FreeBSD-src-ac8e9a3b12f627c30db964eb028ecb2d57d0125c.tar.gz
Fix conditional FDT support in loader(8).
Diffstat (limited to 'sys/boot/arm')
-rw-r--r--sys/boot/arm/uboot/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/boot/arm/uboot/Makefile b/sys/boot/arm/uboot/Makefile
index 2cdd9e7..573f948 100644
--- a/sys/boot/arm/uboot/Makefile
+++ b/sys/boot/arm/uboot/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
PROG= ubldr
NEWVERSWHAT= "U-Boot loader" ${MACHINE_ARCH}
BINDIR?= /boot
@@ -18,7 +20,7 @@ LOADER_NFS_SUPPORT?= yes
LOADER_TFTP_SUPPORT?= no
LOADER_GZIP_SUPPORT?= no
LOADER_BZIP2_SUPPORT?= no
-.if defined(WITH_FDT)
+.if ${MK_FDT} != "no"
LOADER_FDT_SUPPORT= yes
.else
LOADER_FDT_SUPPORT= no
OpenPOWER on IntegriCloud