diff options
author | Ming Liu <liu.ming50@gmail.com> | 2017-09-24 06:03:49 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-26 11:05:01 +0100 |
commit | 307f25c23efecd3861a9f8337806be9ca8b0b9f1 (patch) | |
tree | abc48189d65e28f7235e92726a855b93fb4ca78f /meta/recipes-devtools/llvm | |
parent | 75bee4603dbabb4ed2cec3e2328cc24bf824a280 (diff) | |
download | poky-307f25c23efecd3861a9f8337806be9ca8b0b9f1.tar.gz |
meta: drop True option to getVar calls
Search made with the following regex: getVar ?\((.*), True\).
(From OE-Core rev: dbc0eaf478feb3f752ae22fd184984494fc85d0a)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/llvm')
-rw-r--r-- | meta/recipes-devtools/llvm/llvm_git.bb | 4 |
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" | |||
32 | LLVM_INSTALL_DIR = "${WORKDIR}/llvm-install" | 32 | LLVM_INSTALL_DIR = "${WORKDIR}/llvm-install" |
33 | def get_llvm_arch(bb, d, arch_var): | 33 | def 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)) |