summaryrefslogtreecommitdiffstats
path: root/sys/boot/powerpc
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/powerpc
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/powerpc')
-rw-r--r--sys/boot/powerpc/uboot/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/boot/powerpc/uboot/Makefile b/sys/boot/powerpc/uboot/Makefile
index 6ba738f..783694d 100644
--- a/sys/boot/powerpc/uboot/Makefile
+++ b/sys/boot/powerpc/uboot/Makefile
@@ -12,7 +12,11 @@ NO_MAN=
SRCS= start.S conf.c vers.c
SRCS+= ucmpdi2.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