Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Sep 2012 11:40:37 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r240277 - in head/sys/boot: arm/uboot powerpc/uboot
Message-ID:  <201209091140.q89Bebt0066264@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209091140.q89Bebt0066264>