diff options
| author | Khem Raj <raj.khem@gmail.com> | 2016-02-27 10:15:39 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2016-02-27 10:15:39 +0000 |
| commit | e8553ea27018b9cd916d29db9fcc845a284ca385 (patch) | |
| tree | cc7ae7f4e568693c3928681941031c720ad2e87b /recipes-devtools | |
| parent | 5ada63a8486ceaee0a40edcc66d7c8121bc09384 (diff) | |
| download | meta-clang-e8553ea27018b9cd916d29db9fcc845a284ca385.tar.gz | |
clang: Use SRCPV where git fetcher is used
Move libunwind to 3.8 branch and set SRCREV in clang.inc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-devtools')
| -rw-r--r-- | recipes-devtools/clang/clang.inc | 1 | ||||
| -rw-r--r-- | recipes-devtools/clang/clang_git.bb | 13 | ||||
| -rw-r--r-- | recipes-devtools/clang/compiler-rt_git.bb | 1 | ||||
| -rw-r--r-- | recipes-devtools/clang/libcxx_git.bb | 1 | ||||
| -rw-r--r-- | recipes-devtools/clang/libcxxabi_git.bb | 1 | ||||
| -rw-r--r-- | recipes-devtools/clang/llvm-libunwind_git.bb | 4 |
6 files changed, 19 insertions, 2 deletions
diff --git a/recipes-devtools/clang/clang.inc b/recipes-devtools/clang/clang.inc index fbc8ca8..ab29781 100644 --- a/recipes-devtools/clang/clang.inc +++ b/recipes-devtools/clang/clang.inc | |||
| @@ -8,3 +8,4 @@ SRCREV_clang = "b98cd9d6a300bcd4863a26786bb1b5d782dcecc0" | |||
| 8 | SRCREV_compiler-rt = "31769223eb782e7b03655810d00dfdec66467d51" | 8 | SRCREV_compiler-rt = "31769223eb782e7b03655810d00dfdec66467d51" |
| 9 | SRCREV_libcxxabi = "4d6a511f041e697eb8ef724df7485d7633571011" | 9 | SRCREV_libcxxabi = "4d6a511f041e697eb8ef724df7485d7633571011" |
| 10 | SRCREV_libcxx = "fda3549c01ea0a1d2ee00fe0033c35dc36796fc8" | 10 | SRCREV_libcxx = "fda3549c01ea0a1d2ee00fe0033c35dc36796fc8" |
| 11 | SRCREV_libunwind = "25647b29dd78196ed3c883392ebb339265aeb355" | ||
diff --git a/recipes-devtools/clang/clang_git.bb b/recipes-devtools/clang/clang_git.bb index 298b0a2..814709f 100644 --- a/recipes-devtools/clang/clang_git.bb +++ b/recipes-devtools/clang/clang_git.bb | |||
| @@ -8,6 +8,8 @@ SECTION = "devel" | |||
| 8 | 8 | ||
| 9 | require clang.inc | 9 | require clang.inc |
| 10 | 10 | ||
| 11 | PV .= "+git${SRCPV}" | ||
| 12 | |||
| 11 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=4c0bc17c954e99fd547528d938832bfa; \ | 13 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=4c0bc17c954e99fd547528d938832bfa; \ |
| 12 | file://tools/clang/LICENSE.TXT;md5=82ed8fe1976ca709bbd81f4f10a48ccd; \ | 14 | file://tools/clang/LICENSE.TXT;md5=82ed8fe1976ca709bbd81f4f10a48ccd; \ |
| 13 | " | 15 | " |
| @@ -110,3 +112,14 @@ do_install_append_class-nativesdk () { | |||
| 110 | PACKAGE_DEBUG_SPLIT_STYLE_class-nativesdk = "debug-without-src" | 112 | PACKAGE_DEBUG_SPLIT_STYLE_class-nativesdk = "debug-without-src" |
| 111 | 113 | ||
| 112 | BBCLASSEXTEND = "native nativesdk" | 114 | BBCLASSEXTEND = "native nativesdk" |
| 115 | |||
| 116 | FILES_${PN} += "\ | ||
| 117 | ${libdir}/BugpointPasses.so \ | ||
| 118 | ${libdir}/LLVMHello.so \ | ||
| 119 | ${datadir}/scan-* \ | ||
| 120 | " | ||
| 121 | |||
| 122 | FILES_${PN}-dev += "\ | ||
| 123 | ${datadir}/llvm/cmake \ | ||
| 124 | " | ||
| 125 | |||
diff --git a/recipes-devtools/clang/compiler-rt_git.bb b/recipes-devtools/clang/compiler-rt_git.bb index 16bbb2f..8f7972e 100644 --- a/recipes-devtools/clang/compiler-rt_git.bb +++ b/recipes-devtools/clang/compiler-rt_git.bb | |||
| @@ -10,6 +10,7 @@ INHIBIT_DEFAULT_DEPS = "1" | |||
| 10 | DEPENDS += "clang-cross-${TARGET_ARCH}" | 10 | DEPENDS += "clang-cross-${TARGET_ARCH}" |
| 11 | 11 | ||
| 12 | require clang.inc | 12 | require clang.inc |
| 13 | PV .= "+git${SRCPV}" | ||
| 13 | 14 | ||
| 14 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=27b14ab4ce08d04c3a9a5f0ed7997362; \ | 15 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=27b14ab4ce08d04c3a9a5f0ed7997362; \ |
| 15 | " | 16 | " |
diff --git a/recipes-devtools/clang/libcxx_git.bb b/recipes-devtools/clang/libcxx_git.bb index 9c651e8..ba37e1b 100644 --- a/recipes-devtools/clang/libcxx_git.bb +++ b/recipes-devtools/clang/libcxx_git.bb | |||
| @@ -12,6 +12,7 @@ DEPENDS += "clang-cross-${TARGET_ARCH}" | |||
| 12 | require clang.inc | 12 | require clang.inc |
| 13 | 13 | ||
| 14 | inherit cmake | 14 | inherit cmake |
| 15 | PV .= "+git${SRCPV}" | ||
| 15 | 16 | ||
| 16 | DEPENDS += "libcxxabi" | 17 | DEPENDS += "libcxxabi" |
| 17 | 18 | ||
diff --git a/recipes-devtools/clang/libcxxabi_git.bb b/recipes-devtools/clang/libcxxabi_git.bb index 3b4c0a0..4bcfe63 100644 --- a/recipes-devtools/clang/libcxxabi_git.bb +++ b/recipes-devtools/clang/libcxxabi_git.bb | |||
| @@ -12,6 +12,7 @@ DEPENDS += "clang-cross-${TARGET_ARCH}" | |||
| 12 | require clang.inc | 12 | require clang.inc |
| 13 | 13 | ||
| 14 | inherit cmake | 14 | inherit cmake |
| 15 | PV .= "+git${SRCPV}" | ||
| 15 | 16 | ||
| 16 | DEPENDS += "compiler-rt" | 17 | DEPENDS += "compiler-rt" |
| 17 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=9041c9f38eb0f718f408e28ce138bb9a; \ | 18 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=9041c9f38eb0f718f408e28ce138bb9a; \ |
diff --git a/recipes-devtools/clang/llvm-libunwind_git.bb b/recipes-devtools/clang/llvm-libunwind_git.bb index 32a6ce2..2d044d0 100644 --- a/recipes-devtools/clang/llvm-libunwind_git.bb +++ b/recipes-devtools/clang/llvm-libunwind_git.bb | |||
| @@ -12,18 +12,18 @@ DEPENDS += "clang-cross-${TARGET_ARCH}" | |||
| 12 | require clang.inc | 12 | require clang.inc |
| 13 | 13 | ||
| 14 | inherit cmake | 14 | inherit cmake |
| 15 | PV .= "+git${SRCPV}" | ||
| 15 | 16 | ||
| 16 | DEPENDS += "libcxx" | 17 | DEPENDS += "libcxx" |
| 17 | PROVIDES += "libunwind" | 18 | PROVIDES += "libunwind" |
| 18 | 19 | ||
| 19 | LIC_FILES_CHKSUM = "file://../libcxx/LICENSE.TXT;md5=149d2e8e8d99e3a2d702997b5f919fd9; \ | 20 | LIC_FILES_CHKSUM = "file://../libcxx/LICENSE.TXT;md5=149d2e8e8d99e3a2d702997b5f919fd9; \ |
| 20 | " | 21 | " |
| 21 | SRCREV_libunwind = "1d9ef03c3ee017838437e0f3197f2912eebdce5a" | ||
| 22 | SRC_URI = "\ | 22 | SRC_URI = "\ |
| 23 | git://github.com/llvm-mirror/llvm.git;branch=${BRANCH};name=llvm \ | 23 | git://github.com/llvm-mirror/llvm.git;branch=${BRANCH};name=llvm \ |
| 24 | git://github.com/llvm-mirror/libcxx.git;branch=${BRANCH};name=libcxx;destsuffix=git/projects/libcxx \ | 24 | git://github.com/llvm-mirror/libcxx.git;branch=${BRANCH};name=libcxx;destsuffix=git/projects/libcxx \ |
| 25 | git://github.com/llvm-mirror/libcxxabi.git;branch=${BRANCH};name=libcxxabi;destsuffix=git/projects/libcxxabi \ | 25 | git://github.com/llvm-mirror/libcxxabi.git;branch=${BRANCH};name=libcxxabi;destsuffix=git/projects/libcxxabi \ |
| 26 | git://github.com/llvm-mirror/libunwind.git;branch=master;name=libunwind;destsuffix=git/projects/libunwind \ | 26 | git://github.com/llvm-mirror/libunwind.git;branch=${BRANCH};name=libunwind;destsuffix=git/projects/libunwind \ |
| 27 | file://0001-aarch64-Use-x29-and-x30-for-fp-and-lr-respectively.patch \ | 27 | file://0001-aarch64-Use-x29-and-x30-for-fp-and-lr-respectively.patch \ |
| 28 | " | 28 | " |
| 29 | 29 | ||
