diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-08-22 12:29:13 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2015-08-22 12:29:44 -0700 |
commit | 3373f255b0bbd1f41d5a5bc4e6ef1f5d7c8ff438 (patch) | |
tree | b6bfcb6c4ed21e6935a4c41b2189aea706c27537 | |
parent | 8aaf23c3f5cfcba28d75ee098483393273338d8b (diff) | |
download | meta-clang-3373f255b0bbd1f41d5a5bc4e6ef1f5d7c8ff438.tar.gz |
clang: Move common bits to clang.inc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | recipes-devtools/clang/clang.inc | 7 | ||||
-rw-r--r-- | recipes-devtools/clang/clang_git.bb | 4 | ||||
-rw-r--r-- | recipes-devtools/clang/compiler-rt_git.bb | 4 | ||||
-rw-r--r-- | recipes-devtools/clang/libcxx_git.bb | 6 | ||||
-rw-r--r-- | recipes-devtools/clang/libcxxabi_git.bb | 6 |
5 files changed, 7 insertions, 20 deletions
diff --git a/recipes-devtools/clang/clang.inc b/recipes-devtools/clang/clang.inc index 1e90133..59d8b97 100644 --- a/recipes-devtools/clang/clang.inc +++ b/recipes-devtools/clang/clang.inc | |||
@@ -1,3 +1,10 @@ | |||
1 | PV = "3.7.0" | 1 | PV = "3.7.0" |
2 | LLVM_RELEASE = "" | 2 | LLVM_RELEASE = "" |
3 | LLVM_DIR = "llvm${LLVM_RELEASE}" | 3 | LLVM_DIR = "llvm${LLVM_RELEASE}" |
4 | |||
5 | BRANCH = "release_37" | ||
6 | SRCREV_llvm = "937d48bea8f01b02d5f3db05a9e58dfb976e9d3b" | ||
7 | SRCREV_clang = "0c0116f5826045008e6627967abe0e9320700e2b" | ||
8 | SRCREV_compiler-rt = "b5214093d4c91ed5352d35ee9126665fabfa97fe" | ||
9 | SRCREV_libcxxabi = "8f53d45e9ac7d3c078ab3fe8f91c40a4cc6b579a" | ||
10 | SRCREV_libcxx = "de80a7d886d75188de210eb4d6f0768fdc4d4d0b" | ||
diff --git a/recipes-devtools/clang/clang_git.bb b/recipes-devtools/clang/clang_git.bb index 4db61cf..298b0a2 100644 --- a/recipes-devtools/clang/clang_git.bb +++ b/recipes-devtools/clang/clang_git.bb | |||
@@ -8,7 +8,6 @@ SECTION = "devel" | |||
8 | 8 | ||
9 | require clang.inc | 9 | require clang.inc |
10 | 10 | ||
11 | BRANCH ?= "release_37" | ||
12 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=4c0bc17c954e99fd547528d938832bfa; \ | 11 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=4c0bc17c954e99fd547528d938832bfa; \ |
13 | file://tools/clang/LICENSE.TXT;md5=82ed8fe1976ca709bbd81f4f10a48ccd; \ | 12 | file://tools/clang/LICENSE.TXT;md5=82ed8fe1976ca709bbd81f4f10a48ccd; \ |
14 | " | 13 | " |
@@ -17,9 +16,6 @@ SRC_URI = "git://github.com/llvm-mirror/llvm.git;branch=${BRANCH};name=llvm \ | |||
17 | file://0001-Remove-CMAKE_CROSSCOMPILING-so-it-can-cross-compile.patch \ | 16 | file://0001-Remove-CMAKE_CROSSCOMPILING-so-it-can-cross-compile.patch \ |
18 | " | 17 | " |
19 | 18 | ||
20 | SRCREV_llvm = "937d48bea8f01b02d5f3db05a9e58dfb976e9d3b" | ||
21 | SRCREV_clang = "0c0116f5826045008e6627967abe0e9320700e2b" | ||
22 | |||
23 | SRCREV_FORMAT = "llvm_clang" | 19 | SRCREV_FORMAT = "llvm_clang" |
24 | 20 | ||
25 | INHIBIT_DEFAULT_DEPS = "1" | 21 | INHIBIT_DEFAULT_DEPS = "1" |
diff --git a/recipes-devtools/clang/compiler-rt_git.bb b/recipes-devtools/clang/compiler-rt_git.bb index e15d15a..026fcda 100644 --- a/recipes-devtools/clang/compiler-rt_git.bb +++ b/recipes-devtools/clang/compiler-rt_git.bb | |||
@@ -11,16 +11,12 @@ DEPENDS += "clang-cross-${TRANSLATED_TARGET_ARCH}" | |||
11 | 11 | ||
12 | require clang.inc | 12 | require clang.inc |
13 | 13 | ||
14 | BRANCH ?= "release_37" | ||
15 | |||
16 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=27b14ab4ce08d04c3a9a5f0ed7997362; \ | 14 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=27b14ab4ce08d04c3a9a5f0ed7997362; \ |
17 | " | 15 | " |
18 | SRC_URI = "git://github.com/llvm-mirror/compiler-rt.git;branch=${BRANCH};name=compiler-rt \ | 16 | SRC_URI = "git://github.com/llvm-mirror/compiler-rt.git;branch=${BRANCH};name=compiler-rt \ |
19 | file://0001-support-a-new-embedded-linux-target.patch \ | 17 | file://0001-support-a-new-embedded-linux-target.patch \ |
20 | " | 18 | " |
21 | 19 | ||
22 | SRCREV_compiler-rt = "b5214093d4c91ed5352d35ee9126665fabfa97fe" | ||
23 | |||
24 | SRCREV_FORMAT = "compiler-rt" | 20 | SRCREV_FORMAT = "compiler-rt" |
25 | 21 | ||
26 | S = "${WORKDIR}/git" | 22 | S = "${WORKDIR}/git" |
diff --git a/recipes-devtools/clang/libcxx_git.bb b/recipes-devtools/clang/libcxx_git.bb index 02e5bed..ade249b 100644 --- a/recipes-devtools/clang/libcxx_git.bb +++ b/recipes-devtools/clang/libcxx_git.bb | |||
@@ -13,8 +13,6 @@ require clang.inc | |||
13 | 13 | ||
14 | inherit cmake | 14 | inherit cmake |
15 | 15 | ||
16 | BRANCH ?= "release_37" | ||
17 | |||
18 | DEPENDS += "libcxxabi" | 16 | DEPENDS += "libcxxabi" |
19 | 17 | ||
20 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=149d2e8e8d99e3a2d702997b5f919fd9; \ | 18 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=149d2e8e8d99e3a2d702997b5f919fd9; \ |
@@ -25,10 +23,6 @@ SRC_URI = "\ | |||
25 | git://github.com/llvm-mirror/libcxxabi.git;branch=${BRANCH};name=libcxxabi;destsuffix=git/projects/libcxxabi \ | 23 | git://github.com/llvm-mirror/libcxxabi.git;branch=${BRANCH};name=libcxxabi;destsuffix=git/projects/libcxxabi \ |
26 | " | 24 | " |
27 | 25 | ||
28 | SRCREV_libcxxabi = "8f53d45e9ac7d3c078ab3fe8f91c40a4cc6b579a" | ||
29 | SRCREV_libcxx = "de80a7d886d75188de210eb4d6f0768fdc4d4d0b" | ||
30 | SRCREV_llvm = "937d48bea8f01b02d5f3db05a9e58dfb976e9d3b" | ||
31 | |||
32 | SRCREV_FORMAT = "llvm_libcxx_libcxxabi" | 26 | SRCREV_FORMAT = "llvm_libcxx_libcxxabi" |
33 | 27 | ||
34 | S = "${WORKDIR}/git/projects/libcxx" | 28 | S = "${WORKDIR}/git/projects/libcxx" |
diff --git a/recipes-devtools/clang/libcxxabi_git.bb b/recipes-devtools/clang/libcxxabi_git.bb index 5194620..c298d41 100644 --- a/recipes-devtools/clang/libcxxabi_git.bb +++ b/recipes-devtools/clang/libcxxabi_git.bb | |||
@@ -13,8 +13,6 @@ require clang.inc | |||
13 | 13 | ||
14 | inherit cmake | 14 | inherit cmake |
15 | 15 | ||
16 | BRANCH ?= "release_37" | ||
17 | |||
18 | DEPENDS += "compiler-rt" | 16 | DEPENDS += "compiler-rt" |
19 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=9041c9f38eb0f718f408e28ce138bb9a; \ | 17 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=9041c9f38eb0f718f408e28ce138bb9a; \ |
20 | " | 18 | " |
@@ -24,10 +22,6 @@ SRC_URI = "\ | |||
24 | git://github.com/llvm-mirror/libcxxabi.git;branch=${BRANCH};name=libcxxabi;destsuffix=git/projects/libcxxabi \ | 22 | git://github.com/llvm-mirror/libcxxabi.git;branch=${BRANCH};name=libcxxabi;destsuffix=git/projects/libcxxabi \ |
25 | " | 23 | " |
26 | 24 | ||
27 | SRCREV_libcxxabi = "8f53d45e9ac7d3c078ab3fe8f91c40a4cc6b579a" | ||
28 | SRCREV_libcxx = "de80a7d886d75188de210eb4d6f0768fdc4d4d0b" | ||
29 | SRCREV_llvm = "937d48bea8f01b02d5f3db05a9e58dfb976e9d3b" | ||
30 | |||
31 | SRCREV_FORMAT = "llvm_libcxx_libcxxabi" | 25 | SRCREV_FORMAT = "llvm_libcxx_libcxxabi" |
32 | 26 | ||
33 | S = "${WORKDIR}/git/projects/libcxxabi" | 27 | S = "${WORKDIR}/git/projects/libcxxabi" |