diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2016-05-06 15:40:07 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-05-10 20:18:56 +0200 |
commit | 102e6998645b0ce4d80dee5dab500df34eab8640 (patch) | |
tree | 5df3378565656056b796853751b67acf2e03699d /meta-oe/recipes-core | |
parent | 5397ae5d576b53f6e4be25219f719bcafc8b9357 (diff) | |
download | meta-openembedded-102e6998645b0ce4d80dee5dab500df34eab8640.tar.gz |
llvm3.3: Disable auto -dbg packages
* set NOAUTOPACKAGEDEBUG to disable automatic creation of -dbg FILES split
* it doesn't work well with our do_split_packages calls and in the end breaks
installing llvm3.3-dbg (e.g. when you enable IMAGE_GEN_DEBUGFS)
* it shows a bit ugly error where multiple messages are written over
each other:
WARNING: [log_check] In line: [ConfiCollected errors:
]
WARNING: [log_check] luneos-dev-image: found an error message in the logfile (keyword 'Collected errors'):
[log_check] ConfiCollected errors:
ERROR:
ConfiCollected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for llvm3.3-dbg:
* libllvm3.3-lto-dbg * libllvm3.3-llvm-3.3-dbg *
* opkg_install: Cannot install package llvm3.3-dbg.
guring gstreamer1.0-libav-dbg.
but the main point is that do_split_packages returns some package
names of packages which in the end aren't created, because there
are no files in them after other -dbg packages eat them all due
to automatic -dbg creation
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-core')
-rw-r--r-- | meta-oe/recipes-core/llvm/llvm.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-core/llvm/llvm.inc b/meta-oe/recipes-core/llvm/llvm.inc index 02d4617f4..fa971f38c 100644 --- a/meta-oe/recipes-core/llvm/llvm.inc +++ b/meta-oe/recipes-core/llvm/llvm.inc | |||
@@ -121,7 +121,7 @@ ALLOW_EMPTY_${PN} = "1" | |||
121 | ALLOW_EMPTY_${PN}-staticdev = "1" | 121 | ALLOW_EMPTY_${PN}-staticdev = "1" |
122 | FILES_${PN} = "" | 122 | FILES_${PN} = "" |
123 | FILES_${PN}-staticdev = "" | 123 | FILES_${PN}-staticdev = "" |
124 | DOTDEBUG-dbg = " \ | 124 | FILES_${PN}-dbg = " \ |
125 | ${bindir}/${LLVM_DIR}/.debug \ | 125 | ${bindir}/${LLVM_DIR}/.debug \ |
126 | ${libdir}/${LLVM_DIR}/.debug/BugpointPasses.so \ | 126 | ${libdir}/${LLVM_DIR}/.debug/BugpointPasses.so \ |
127 | ${libdir}/${LLVM_DIR}/.debug/LLVMHello.so \ | 127 | ${libdir}/${LLVM_DIR}/.debug/LLVMHello.so \ |
@@ -142,6 +142,7 @@ FILES_${PN}-llvmhello = "\ | |||
142 | " | 142 | " |
143 | 143 | ||
144 | PACKAGES_DYNAMIC = "^libllvm${LLVM_RELEASE}-.*$" | 144 | PACKAGES_DYNAMIC = "^libllvm${LLVM_RELEASE}-.*$" |
145 | NOAUTOPACKAGEDEBUG = "1" | ||
145 | 146 | ||
146 | INSANE_SKIP_${MLPREFIX}libllvm${LLVM_RELEASE}-llvm-${LLVM_RELEASE} += "dev-so" | 147 | INSANE_SKIP_${MLPREFIX}libllvm${LLVM_RELEASE}-llvm-${LLVM_RELEASE} += "dev-so" |
147 | 148 | ||