diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2016-02-14 12:47:12 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-02-25 17:45:41 +0100 |
commit | 4954e3116ea24c825bccc9307b803b646bf70dfd (patch) | |
tree | af58012017f0d46947f954da79c830032255ae13 /meta-oe/recipes-core | |
parent | ba970619ca21bd7dd565103cad387d88020eb4a2 (diff) | |
download | meta-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.inc | 25 |
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 | ||
119 | PACKAGES += "${PN}-bugpointpasses ${PN}-llvmhello" | ||
119 | ALLOW_EMPTY_${PN} = "1" | 120 | ALLOW_EMPTY_${PN} = "1" |
120 | ALLOW_EMPTY_${PN}-staticdev = "1" | 121 | ALLOW_EMPTY_${PN}-staticdev = "1" |
121 | FILES_${PN} = "" | 122 | FILES_${PN} = "" |
122 | FILES_${PN}-staticdev = "" | 123 | FILES_${PN}-staticdev = "" |
123 | DOTDEBUG-dbg = " ${bindir}/${LLVM_DIR}/.debug \ | 124 | DOTDEBUG-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 | ||
129 | FILES_${PN}-dev = "${bindir}/${LLVM_DIR} \ | 131 | FILES_${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 | " |
135 | RRECOMMENDS_${PN}-dev += "${PN}-bugpointpasses ${PN}-llvmhello" | ||
136 | |||
137 | FILES_${PN}-bugpointpasses = "\ | ||
138 | ${libdir}/${LLVM_DIR}/BugpointPasses.so \ | ||
139 | " | ||
140 | FILES_${PN}-llvmhello = "\ | ||
141 | ${libdir}/${LLVM_DIR}/LLVMHello.so \ | ||
133 | " | 142 | " |
134 | 143 | ||
135 | PACKAGES_DYNAMIC = "^libllvm${LLVM_RELEASE}-.*$" | 144 | PACKAGES_DYNAMIC = "^libllvm${LLVM_RELEASE}-.*$" |