diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-07-14 14:25:48 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-16 21:23:43 +0100 |
commit | af42b772f46c9f92c2ee216d6067350dd6edb756 (patch) | |
tree | 098f111c1b3b1f6b9b278b027c5c11f0558d877d /meta | |
parent | 59cb4c7c3c6ac505cdf81b58829048bd94815f20 (diff) | |
download | poky-af42b772f46c9f92c2ee216d6067350dd6edb756.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/llvm/llvm_git.bb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index 8a5d3dc9bf..de79adc410 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb | |||
@@ -19,11 +19,9 @@ inherit cmake pkgconfig | |||
19 | 19 | ||
20 | PROVIDES += "llvm${PV}" | 20 | PROVIDES += "llvm${PV}" |
21 | 21 | ||
22 | MAJOR_VERSION = "12" | 22 | PV = "12.0.0" |
23 | MINOR_VERSION = "0" | ||
24 | PATCH_VERSION = "0" | ||
25 | 23 | ||
26 | PV = "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}" | 24 | MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}" |
27 | 25 | ||
28 | LLVM_RELEASE = "${PV}" | 26 | LLVM_RELEASE = "${PV}" |
29 | LLVM_DIR = "llvm${LLVM_RELEASE}" | 27 | LLVM_DIR = "llvm${LLVM_RELEASE}" |
@@ -178,7 +176,7 @@ FILES_${PN}-llvmhello = "\ | |||
178 | FILES_${PN}-dev += " \ | 176 | FILES_${PN}-dev += " \ |
179 | ${libdir}/${LLVM_DIR}/llvm-config \ | 177 | ${libdir}/${LLVM_DIR}/llvm-config \ |
180 | ${libdir}/${LLVM_DIR}/libRemarks.so \ | 178 | ${libdir}/${LLVM_DIR}/libRemarks.so \ |
181 | ${libdir}/${LLVM_DIR}/libLLVM-${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}.so \ | 179 | ${libdir}/${LLVM_DIR}/libLLVM-${PV}.so \ |
182 | " | 180 | " |
183 | 181 | ||
184 | FILES_${PN}-staticdev += "\ | 182 | FILES_${PN}-staticdev += "\ |