summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2016-02-19 15:11:54 +0000
committeremaste <emaste@FreeBSD.org>2016-02-19 15:11:54 +0000
commit835428466ebd997fd3e97f975c0e3b6326d12c53 (patch)
tree8608c500280dbf34adb9860c3134907ddd24fea9
parent5217cd12ce7d69134011ee71a5461c3521c12b7a (diff)
downloadFreeBSD-src-835428466ebd997fd3e97f975c0e3b6326d12c53.zip
FreeBSD-src-835428466ebd997fd3e97f975c0e3b6326d12c53.tar.gz
Remove objcopy in WITHOUT_TOOLCHAIN if it's from elftoolchain
-rw-r--r--tools/build/mk/OptionalObsoleteFiles.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index 87a40ba..0dec669 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -7946,6 +7946,10 @@ OLD_FILES+=usr/share/man/man1/readelf.1.gz
OLD_FILES+=usr/share/man/man1/size.1.gz
OLD_FILES+=usr/share/man/man1/strings.1.gz
OLD_FILES+=usr/share/man/man1/strip.1.gz
+.if ${MK_ELFCOPY_AS_OBJCOPY} != no
+OLD_FILES+=usr/bin/objcopy
+OLD_FILES+=usr/share/man/man1/objcopy.1.gz
+.endif
.endif
.if ${MK_TOOLCHAIN} == no || ${MK_ELFCOPY_AS_OBJCOPY} != no
OLD_FILES+=usr/bin/elfcopy
OpenPOWER on IntegriCloud