Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 2015 20:11:16 +0000 (UTC)
From:      "Simon J. Gerraty" <sjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r284424 - in head: lib/libelftc targets/pseudo/toolchain usr.bin/elfcopy
Message-ID:  <201506152011.t5FKBGSV046492@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sjg
Date: Mon Jun 15 20:11:15 2015
New Revision: 284424
URL: https://svnweb.freebsd.org/changeset/base/284424

Log:
  Pay attention to MK_ELFTOOLCHAIN_TOOLS so we build the desired tools.

Added:
  head/lib/libelftc/Makefile.depend   (contents, props changed)
  head/usr.bin/elfcopy/Makefile.depend   (contents, props changed)
Modified:
  head/targets/pseudo/toolchain/Makefile.depend

Added: head/lib/libelftc/Makefile.depend
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lib/libelftc/Makefile.depend	Mon Jun 15 20:11:15 2015	(r284424)
@@ -0,0 +1,14 @@
+# $FreeBSD$
+# Autogenerated - do NOT edit!
+
+DIRDEPS = \
+	include \
+	include/xlocale \
+	lib/libelf \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif

Modified: head/targets/pseudo/toolchain/Makefile.depend
==============================================================================
--- head/targets/pseudo/toolchain/Makefile.depend	Mon Jun 15 20:11:06 2015	(r284423)
+++ head/targets/pseudo/toolchain/Makefile.depend	Mon Jun 15 20:11:15 2015	(r284424)
@@ -7,21 +7,38 @@ DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,
 .if !defined(MK_CLANG)
 .include "${SRCTOP}/share/mk/src.opts.mk"
 .endif
+DIRDEPS=
+
+.if ${MK_ELFTOOLCHAIN_TOOLS} == "yes"
+DIRDEPS+= \
+	usr.bin/addr2line \
+	usr.bin/cxxflit \
+	usr.bin/elfcopy \
+	usr.bin/nm \
+	usr.bin/readelf \
+	usr.bin/size \
+	usr.bin/strip \
+	usr.bin/strings \
+
+.else
+DIRDEPS+= \
+	gnu/usr.bin/binutils/addr2line \
+	gnu/usr.bin/binutils/nm \
+	gnu/usr.bin/binutils/readelf \
+	gnu/usr.bin/binutils/size \
+	gnu/usr.bin/binutils/strip \
+	gnu/usr.bin/binutils/strings \
+
+.endif
 
 DIRDEPS= \
 	usr.bin/xinstall \
-	gnu/usr.bin/binutils/addr2line \
 	gnu/usr.bin/binutils/ar \
 	gnu/usr.bin/binutils/as \
 	gnu/usr.bin/binutils/ld \
-	gnu/usr.bin/binutils/nm \
 	gnu/usr.bin/binutils/objcopy \
 	gnu/usr.bin/binutils/objdump \
 	gnu/usr.bin/binutils/ranlib \
-	gnu/usr.bin/binutils/readelf \
-	gnu/usr.bin/binutils/size \
-	gnu/usr.bin/binutils/strings \
-	gnu/usr.bin/binutils/strip \
 
 
 .if ${MK_CLANG} == "yes"

Added: head/usr.bin/elfcopy/Makefile.depend
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.bin/elfcopy/Makefile.depend	Mon Jun 15 20:11:15 2015	(r284424)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+# Autogenerated - do NOT edit!
+
+DIRDEPS = \
+	gnu/lib/csu \
+	gnu/lib/libgcc \
+	lib/${CSU_DIR} \
+	lib/libarchive \
+	lib/libbz2 \
+	lib/libc \
+	lib/libcompiler_rt \
+	lib/libelf \
+	lib/libelftc \
+	lib/libexpat \
+	lib/liblzma \
+	lib/libthr \
+	lib/libz \
+	secure/lib/libcrypto \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif



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