summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/llvm/llvm_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/llvm/llvm_git.bb')
-rw-r--r--meta/recipes-devtools/llvm/llvm_git.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb
index 632178fd77..f06fa49ae5 100644
--- a/meta/recipes-devtools/llvm/llvm_git.bb
+++ b/meta/recipes-devtools/llvm/llvm_git.bb
@@ -32,7 +32,7 @@ S = "${WORKDIR}/git"
32LLVM_INSTALL_DIR = "${WORKDIR}/llvm-install" 32LLVM_INSTALL_DIR = "${WORKDIR}/llvm-install"
33def get_llvm_arch(bb, d, arch_var): 33def get_llvm_arch(bb, d, arch_var):
34 import re 34 import re
35 a = d.getVar(arch_var, True) 35 a = d.getVar(arch_var)
36 if re.match('(i.86|athlon|x86.64)$', a): return 'X86' 36 if re.match('(i.86|athlon|x86.64)$', a): return 'X86'
37 elif re.match('arm$', a): return 'ARM' 37 elif re.match('arm$', a): return 'ARM'
38 elif re.match('armeb$', a): return 'ARM' 38 elif re.match('armeb$', a): return 'ARM'
@@ -174,7 +174,7 @@ python llvm_populate_packages() {
174 split_packages = do_split_packages(d, libdir, '^lib(.*)\.so$', 'libllvm${LLVM_RELEASE}-%s', 'Split package for %s', allow_dirs=True, allow_links=True, recursive=True) 174 split_packages = do_split_packages(d, libdir, '^lib(.*)\.so$', 'libllvm${LLVM_RELEASE}-%s', 'Split package for %s', allow_dirs=True, allow_links=True, recursive=True)
175 split_staticdev_packages = do_split_packages(d, libllvm_libdir, '^lib(.*)\.a$', 'libllvm${LLVM_RELEASE}-%s-staticdev', 'Split staticdev package for %s', allow_dirs=True) 175 split_staticdev_packages = do_split_packages(d, libllvm_libdir, '^lib(.*)\.a$', 'libllvm${LLVM_RELEASE}-%s-staticdev', 'Split staticdev package for %s', allow_dirs=True)
176 if split_packages: 176 if split_packages:
177 pn = d.getVar('PN', True) 177 pn = d.getVar('PN')
178 d.appendVar('RDEPENDS_' + pn, ' '+' '.join(split_packages)) 178 d.appendVar('RDEPENDS_' + pn, ' '+' '.join(split_packages))
179 d.appendVar('RDEPENDS_' + pn + '-dbg', ' '+' '.join(split_dbg_packages)) 179 d.appendVar('RDEPENDS_' + pn + '-dbg', ' '+' '.join(split_dbg_packages))
180 d.appendVar('RDEPENDS_' + pn + '-staticdev', ' '+' '.join(split_staticdev_packages)) 180 d.appendVar('RDEPENDS_' + pn + '-staticdev', ' '+' '.join(split_staticdev_packages))