summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2016-02-14 12:47:12 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2016-02-25 17:45:41 +0100
commit4954e3116ea24c825bccc9307b803b646bf70dfd (patch)
treeaf58012017f0d46947f954da79c830032255ae13 /meta-oe/recipes-core
parentba970619ca21bd7dd565103cad387d88020eb4a2 (diff)
downloadmeta-openembedded-4954e3116ea24c825bccc9307b803b646bf70dfd.tar.gz
llvm: move BugpointPasses.so and LLVMHello.so to separate packages
* keep them RRECOMMENDed from -dev * fixes following QA error: NOTE: recipe llvm3.3-3.3-r0: task do_package_qa: Started ERROR: QA Issue: -dev package contains non-symlink .so: llvm3.3-dev path 'llvm3.3/3.3-r0/packages-split/llvm3.3-dev/usr/lib/llvm3.3/LLVMHello.so' -dev package contains non-symlink .so: llvm3.3-dev path 'llvm3.3/3.3-r0/packages-split/llvm3.3-dev/usr/lib/llvm3.3/BugpointPasses.so' [dev-elf] 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.inc25
1 files changed, 17 insertions, 8 deletions
diff --git a/meta-oe/recipes-core/llvm/llvm.inc b/meta-oe/recipes-core/llvm/llvm.inc
index 04c87aabb..31b2db4e7 100644
--- a/meta-oe/recipes-core/llvm/llvm.inc
+++ b/meta-oe/recipes-core/llvm/llvm.inc
@@ -116,20 +116,29 @@ llvm_sysroot_preprocess() {
116 mv ${LLVM_INSTALL_DIR}/llvm-config-host ${SYSROOT_DESTDIR}${bindir_crossscripts}/llvm-config${PV} 116 mv ${LLVM_INSTALL_DIR}/llvm-config-host ${SYSROOT_DESTDIR}${bindir_crossscripts}/llvm-config${PV}
117} 117}
118 118
119PACKAGES += "${PN}-bugpointpasses ${PN}-llvmhello"
119ALLOW_EMPTY_${PN} = "1" 120ALLOW_EMPTY_${PN} = "1"
120ALLOW_EMPTY_${PN}-staticdev = "1" 121ALLOW_EMPTY_${PN}-staticdev = "1"
121FILES_${PN} = "" 122FILES_${PN} = ""
122FILES_${PN}-staticdev = "" 123FILES_${PN}-staticdev = ""
123DOTDEBUG-dbg = " ${bindir}/${LLVM_DIR}/.debug \ 124DOTDEBUG-dbg = " \
124 ${libdir}/${LLVM_DIR}/.debug/BugpointPasses.so \ 125 ${bindir}/${LLVM_DIR}/.debug \
125 ${libdir}/${LLVM_DIR}/.debug/LLVMHello.so \ 126 ${libdir}/${LLVM_DIR}/.debug/BugpointPasses.so \
126 /usr/src/debug \ 127 ${libdir}/${LLVM_DIR}/.debug/LLVMHello.so \
128 /usr/src/debug \
127" 129"
128 130
129FILES_${PN}-dev = "${bindir}/${LLVM_DIR} \ 131FILES_${PN}-dev = " \
130 ${includedir}/${LLVM_DIR} \ 132 ${bindir}/${LLVM_DIR} \
131 ${libdir}/${LLVM_DIR}/BugpointPasses.so \ 133 ${includedir}/${LLVM_DIR} \
132 ${libdir}/${LLVM_DIR}/LLVMHello.so \ 134"
135RRECOMMENDS_${PN}-dev += "${PN}-bugpointpasses ${PN}-llvmhello"
136
137FILES_${PN}-bugpointpasses = "\
138 ${libdir}/${LLVM_DIR}/BugpointPasses.so \
139"
140FILES_${PN}-llvmhello = "\
141 ${libdir}/${LLVM_DIR}/LLVMHello.so \
133" 142"
134 143
135PACKAGES_DYNAMIC = "^libllvm${LLVM_RELEASE}-.*$" 144PACKAGES_DYNAMIC = "^libllvm${LLVM_RELEASE}-.*$"