Author: ae
Date: Sun Sep  9 11:40:37 2012
New Revision: 240277
URL: http://svn.freebsd.org/changeset/base/240277

Log:
  Handle LOADER_NO_DISK_SUPPORT knob in the arm and powerpc ubldr.

Modified:
  head/sys/boot/arm/uboot/Makefile
  head/sys/boot/powerpc/uboot/Makefile

Modified: head/sys/boot/arm/uboot/Makefile
==============================================================================
--- head/sys/boot/arm/uboot/Makefile    Sun Sep  9 11:37:17 2012        
(r240276)
+++ head/sys/boot/arm/uboot/Makefile    Sun Sep  9 11:40:37 2012        
(r240277)
@@ -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

Modified: head/sys/boot/powerpc/uboot/Makefile
==============================================================================
--- head/sys/boot/powerpc/uboot/Makefile        Sun Sep  9 11:37:17 2012        
(r240276)
+++ head/sys/boot/powerpc/uboot/Makefile        Sun Sep  9 11:40:37 2012        
(r240277)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to