summaryrefslogtreecommitdiffstats
path: root/sys/boot/arm
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2012-09-09 11:40:37 +0000
committerae <ae@FreeBSD.org>2012-09-09 11:40:37 +0000
commit509888181af3114aba96c9d40ae25491355c09c6 (patch)
tree95e8f88ddd42ff852fa35b7d4d435c6c58d22ebb /sys/boot/arm
parentf7c40e7e088ed87315ede158ca57e06f72d9ea95 (diff)
downloadFreeBSD-src-509888181af3114aba96c9d40ae25491355c09c6.zip
FreeBSD-src-509888181af3114aba96c9d40ae25491355c09c6.tar.gz
Handle LOADER_NO_DISK_SUPPORT knob in the arm and powerpc ubldr.
Diffstat (limited to 'sys/boot/arm')
-rw-r--r--sys/boot/arm/uboot/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/boot/arm/uboot/Makefile b/sys/boot/arm/uboot/Makefile
index b8a92d6..c9940ed 100644
--- a/sys/boot/arm/uboot/Makefile
+++ b/sys/boot/arm/uboot/Makefile
@@ -14,7 +14,11 @@ UBLDR_LOADADDR?= 0x1000000
# Architecture-specific loader code
SRCS= start.S conf.c vers.c
+.if !defined(LOADER_NO_DISK_SUPPORT)
LOADER_DISK_SUPPORT?= yes
+.else
+LOADER_DISK_SUPPORT= no
+.endif
LOADER_UFS_SUPPORT?= yes
LOADER_CD9660_SUPPORT?= no
LOADER_EXT2FS_SUPPORT?= no
OpenPOWER on IntegriCloud