diff options
-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 04c87aabb3..31b2db4e76 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}-.*$" |