mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
llvm: make upgradable via devtool
Assembling PV from bits is too clever for devtool; but it can be done in the opposite direction. (From OE-Core rev: f1c6881ee1799426d85e6bd23347a875767c4994) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
59cb4c7c3c
commit
af42b772f4
@@ -19,11 +19,9 @@ inherit cmake pkgconfig
|
||||
|
||||
PROVIDES += "llvm${PV}"
|
||||
|
||||
MAJOR_VERSION = "12"
|
||||
MINOR_VERSION = "0"
|
||||
PATCH_VERSION = "0"
|
||||
PV = "12.0.0"
|
||||
|
||||
PV = "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}"
|
||||
MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}"
|
||||
|
||||
LLVM_RELEASE = "${PV}"
|
||||
LLVM_DIR = "llvm${LLVM_RELEASE}"
|
||||
@@ -178,7 +176,7 @@ FILES_${PN}-llvmhello = "\
|
||||
FILES_${PN}-dev += " \
|
||||
${libdir}/${LLVM_DIR}/llvm-config \
|
||||
${libdir}/${LLVM_DIR}/libRemarks.so \
|
||||
${libdir}/${LLVM_DIR}/libLLVM-${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}.so \
|
||||
${libdir}/${LLVM_DIR}/libLLVM-${PV}.so \
|
||||
"
|
||||
|
||||
FILES_${PN}-staticdev += "\
|
||||
|
||||
Reference in New Issue
Block a user