aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-25 04:46:58 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-25 04:46:58 +0000
commitf87ea4dd9ac9816131ee52ee6393c7b4012f2e68 (patch)
tree26716b9aac7cd72088d592c94353fff0da1a0664 /tools
parent4fc760ecb9b5738111b00c5b798188c721a1e269 (diff)
downloadexternal_llvm-f87ea4dd9ac9816131ee52ee6393c7b4012f2e68.zip
external_llvm-f87ea4dd9ac9816131ee52ee6393c7b4012f2e68.tar.gz
external_llvm-f87ea4dd9ac9816131ee52ee6393c7b4012f2e68.tar.bz2
Add the rest of the build system logic for optional target disassemblers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-config/llvm-config.in.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/llvm-config/llvm-config.in.in b/tools/llvm-config/llvm-config.in.in
index 7f93f16..d0edda0 100644
--- a/tools/llvm-config/llvm-config.in.in
+++ b/tools/llvm-config/llvm-config.in.in
@@ -333,6 +333,10 @@ sub build_name_map {
if (defined $NAME_MAP{$target.'asmparser'}) {
push @{$NAME_MAP{$target}},$target.'asmparser'
}
+
+ if (defined $NAME_MAP{$target.'disassembler'}) {
+ push @{$NAME_MAP{$target}},$target.'disassembler'
+ }
}
# Add virtual entries.