svn commit: r280190 - head

Ed Maste emaste at FreeBSD.org
Tue Mar 17 19:35:51 UTC 2015


Author: emaste
Date: Tue Mar 17 19:35:50 2015
New Revision: 280190
URL: https://svnweb.freebsd.org/changeset/base/280190

Log:
  When cross-building with an external toolchain we still need a target strip
  
  It is used by at least crunchide(1).

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Tue Mar 17 19:19:19 2015	(r280189)
+++ head/Makefile.inc1	Tue Mar 17 19:35:50 2015	(r280190)
@@ -1476,6 +1476,11 @@ _elftctools=	lib/libelftc \
 # cross-build on a FreeBSD 10 host:
 _elftctools+=	usr.bin/addr2line
 .endif
+.elif ${TARGET_ARCH} != ${MACHINE_ARCH} && ${MK_ELFTOOLCHAIN_TOOLS} != "no"
+# If cross-building with an external binutils we still need to build strip for
+# the target (for at least crunchide).
+_elftctools=	lib/libelftc \
+		usr.bin/elfcopy
 .endif
 
 # If an full path to an external cross compiler is given, don't build


More information about the svn-src-head mailing list