diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-12-27 10:47:14 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-12-27 17:29:06 -0800 |
commit | 3d4c48bd0afb67396aacbc444fa7f6698724860e (patch) | |
tree | c6baddd7ea8c73f781a9f691585108d228684d30 /recipes-devtools/clang/common-source.inc | |
parent | 463509e8b983a0e999d01c803a1a999b76d70411 (diff) | |
download | meta-clang-3d4c48bd0afb67396aacbc444fa7f6698724860e.tar.gz |
recipes: Rework llvm/clang/compiler-rt/libcxx/lldb recipes
This is an overhaul of clang/llvm project related recipes
* switch to using a flat mono repo for all clang/llvm projects
* Add llvm-project-source recipe which will prepare source tree in
work-shared for all recipes much like kernel and gcc
* build lld as part of clang recipes, its much easier and saves build
time and hopefully nativesdk version will be built now for free
* switch to official git repos at git://github.com/llvm-project
* Adjust all recipes to use shared sources
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-devtools/clang/common-source.inc')
-rw-r--r-- | recipes-devtools/clang/common-source.inc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes-devtools/clang/common-source.inc b/recipes-devtools/clang/common-source.inc new file mode 100644 index 0000000..e7fb06f --- /dev/null +++ b/recipes-devtools/clang/common-source.inc | |||
@@ -0,0 +1,11 @@ | |||
1 | do_fetch() { | ||
2 | : | ||
3 | } | ||
4 | do_fetch[noexec] = "1" | ||
5 | deltask do_unpack | ||
6 | deltask do_patch | ||
7 | |||
8 | SRC_URI = "" | ||
9 | |||
10 | do_configure[depends] += "llvm-project-source-${PV}:do_patch" | ||
11 | do_populate_lic[depends] += "llvm-project-source-${PV}:do_unpack" | ||