diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2014-07-18 12:29:37 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-07-22 12:09:09 +0200 |
commit | b4a886b52ab2323b078d66aaedc15c27f71b24ac (patch) | |
tree | e15a005875ebdabe519a7b3242a6223231177762 | |
parent | 743751e20cc266143130fb5bb49efb4c86b9e02b (diff) | |
download | meta-openembedded-b4a886b52ab2323b078d66aaedc15c27f71b24ac.tar.gz |
llvm: set INSANE_SKIP only for one explicit package
* now when insane_qa is moved to separate task, we cannot set INSANE_SKIP in do_package task
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-oe/recipes-core/llvm/llvm.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-core/llvm/llvm.inc b/meta-oe/recipes-core/llvm/llvm.inc index 525dd3cac..acbf3c38a 100644 --- a/meta-oe/recipes-core/llvm/llvm.inc +++ b/meta-oe/recipes-core/llvm/llvm.inc | |||
@@ -50,6 +50,8 @@ FILES_${PN}-dev = "${bindir}/${LLVM_DIR} \ | |||
50 | 50 | ||
51 | PACKAGES_DYNAMIC = "^libllvm-.*$" | 51 | PACKAGES_DYNAMIC = "^libllvm-.*$" |
52 | 52 | ||
53 | INSANE_SKIP_libllvm${LLVM_RELEASE}-llvm-${LLVM_RELEASE} += "dev-so" | ||
54 | |||
53 | python llvm_populate_packages() { | 55 | python llvm_populate_packages() { |
54 | libdir = bb.data.expand('${libdir}', d) | 56 | libdir = bb.data.expand('${libdir}', d) |
55 | libllvm_libdir = bb.data.expand('${libdir}/${LLVM_DIR}', d) | 57 | libllvm_libdir = bb.data.expand('${libdir}/${LLVM_DIR}', d) |
@@ -58,8 +60,6 @@ python llvm_populate_packages() { | |||
58 | split_staticdev_packages = do_split_packages(d, libllvm_libdir, '^lib(.*)\.a$', 'libllvm${LLVM_RELEASE}-%s-staticdev', 'Split staticdev package for %s', allow_dirs=True) | 60 | split_staticdev_packages = do_split_packages(d, libllvm_libdir, '^lib(.*)\.a$', 'libllvm${LLVM_RELEASE}-%s-staticdev', 'Split staticdev package for %s', allow_dirs=True) |
59 | if split_packages: | 61 | if split_packages: |
60 | pn = d.getVar('PN', True) | 62 | pn = d.getVar('PN', True) |
61 | for package in split_packages: | ||
62 | d.appendVar('INSANE_SKIP_' + package, ' dev-so') | ||
63 | d.appendVar('RDEPENDS_' + pn, ' '+' '.join(split_packages)) | 63 | d.appendVar('RDEPENDS_' + pn, ' '+' '.join(split_packages)) |
64 | d.appendVar('RDEPENDS_' + pn + '-dbg', ' '+' '.join(split_dbg_packages)) | 64 | d.appendVar('RDEPENDS_' + pn + '-dbg', ' '+' '.join(split_dbg_packages)) |
65 | d.appendVar('RDEPENDS_' + pn + '-staticdev', ' '+' '.join(split_staticdev_packages)) | 65 | d.appendVar('RDEPENDS_' + pn + '-staticdev', ' '+' '.join(split_staticdev_packages)) |