diff options
author | raj <raj@FreeBSD.org> | 2010-06-13 12:46:32 +0000 |
---|---|---|
committer | raj <raj@FreeBSD.org> | 2010-06-13 12:46:32 +0000 |
commit | ac8e9a3b12f627c30db964eb028ecb2d57d0125c (patch) | |
tree | 5127cf0288cde21b76254071b6f3ee07ab66192a /sys/boot/arm | |
parent | f78d8ab6d94a4542f6914cff3380cc8d4137326f (diff) | |
download | FreeBSD-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/Makefile | 4 |
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 |