svn commit: r193040 - stable/7

Andriy Gapon avg at FreeBSD.org
Fri May 29 14:42:03 UTC 2009


Author: avg
Date: Fri May 29 14:42:02 2009
New Revision: 193040
URL: http://svn.freebsd.org/changeset/base/193040

Log:
  use new btxld when building world in older environment
  
  This is a direct commit to the branch.
  This is for the benefit of those who define LOADER_ZFS_SUPPORT but
  should't hurt anybody else.
  Build of zfsboot requires new feature of btxld that it obtained
  (via MFC) in r192697: "merge 177933. Allow for a zero length 'loader'"
  (btxld is a build tool and a cross-build tool)
  Please note that __FreeBSD_version was bumped some time after r192697
  for an unrelated change.
  
  Reviewed by:	des
  Approved by:	jhb (mentor)

Modified:
  stable/7/Makefile.inc1

Modified: stable/7/Makefile.inc1
==============================================================================
--- stable/7/Makefile.inc1	Fri May 29 14:25:51 2009	(r193039)
+++ stable/7/Makefile.inc1	Fri May 29 14:42:02 2009	(r193040)
@@ -985,7 +985,7 @@ build-tools:
 #
 # cross-tools: Build cross-building tools
 #
-.if ${TARGET_ARCH} != ${MACHINE_ARCH}
+.if ${TARGET_ARCH} != ${MACHINE_ARCH} || ${BOOTSTRAPPING} < 702102
 .if ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "i386"
 _btxld=		usr.sbin/btxld
 .endif


More information about the svn-src-all mailing list