aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2012-09-09 11:40:37 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2012-09-09 11:40:37 +0000
commitda1d05228cb46bda846678441a5db8ccea321458 (patch)
tree95e8f88ddd42ff852fa35b7d4d435c6c58d22ebb
parent60dff4f9f8d7106084febb387f702457739132ca (diff)
Notes
-rw-r--r--sys/boot/arm/uboot/Makefile4
-rw-r--r--sys/boot/powerpc/uboot/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/sys/boot/arm/uboot/Makefile b/sys/boot/arm/uboot/Makefile
index b8a92d6ddf64..c9940edcb8af 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
diff --git a/sys/boot/powerpc/uboot/Makefile b/sys/boot/powerpc/uboot/Makefile
index 6ba738fd39a7..783694d7f093 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