diff options
author | sjg <sjg@FreeBSD.org> | 2015-06-15 20:11:15 +0000 |
---|---|---|
committer | sjg <sjg@FreeBSD.org> | 2015-06-15 20:11:15 +0000 |
commit | 3f58070b3ad1cfb47ef93e39b55c3b5b11f3312c (patch) | |
tree | 624b9b692576f9c51ed284d8dec3a91237c24876 | |
parent | e045ce7358e89e65fef77c3890001525e987c61f (diff) | |
download | FreeBSD-src-3f58070b3ad1cfb47ef93e39b55c3b5b11f3312c.zip FreeBSD-src-3f58070b3ad1cfb47ef93e39b55c3b5b11f3312c.tar.gz |
Pay attention to MK_ELFTOOLCHAIN_TOOLS so we build the desired tools.
-rw-r--r-- | lib/libelftc/Makefile.depend | 14 | ||||
-rw-r--r-- | targets/pseudo/toolchain/Makefile.depend | 29 | ||||
-rw-r--r-- | usr.bin/elfcopy/Makefile.depend | 25 |
3 files changed, 62 insertions, 6 deletions
diff --git a/lib/libelftc/Makefile.depend b/lib/libelftc/Makefile.depend new file mode 100644 index 0000000..422dbea --- /dev/null +++ b/lib/libelftc/Makefile.depend @@ -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 diff --git a/targets/pseudo/toolchain/Makefile.depend b/targets/pseudo/toolchain/Makefile.depend index b15598b..92d1c88 100644 --- a/targets/pseudo/toolchain/Makefile.depend +++ b/targets/pseudo/toolchain/Makefile.depend @@ -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" diff --git a/usr.bin/elfcopy/Makefile.depend b/usr.bin/elfcopy/Makefile.depend new file mode 100644 index 0000000..72ff635 --- /dev/null +++ b/usr.bin/elfcopy/Makefile.depend @@ -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 |