diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-01-31 20:08:18 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-01-31 20:11:09 -0800 |
commit | 4d5c8f7a29c50eaed975609c8509c876eb378b99 (patch) | |
tree | e7fe555ed8b6d447c98e7d0695892a55dbac7f95 /recipes-devtools/clang | |
parent | 8f4d1ca8e2ddec3dd2dbfb924ee44fae8ce20ac4 (diff) | |
download | meta-clang-4d5c8f7a29c50eaed975609c8509c876eb378b99.tar.gz |
clang: Enable a cross version of clang-tidy
define CLANG_TIDY_EXE which is used by some build systems e.g. cmake
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-devtools/clang')
-rw-r--r-- | recipes-devtools/clang/clang-cross-canadian_git.bb | 1 | ||||
-rw-r--r-- | recipes-devtools/clang/clang-cross_git.bb | 1 | ||||
-rw-r--r-- | recipes-devtools/clang/clang-crosssdk_git.bb | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/recipes-devtools/clang/clang-cross-canadian_git.bb b/recipes-devtools/clang/clang-cross-canadian_git.bb index b547f47..acad1bb 100644 --- a/recipes-devtools/clang/clang-cross-canadian_git.bb +++ b/recipes-devtools/clang/clang-cross-canadian_git.bb | |||
@@ -23,6 +23,7 @@ do_install() { | |||
23 | install -d ${D}${bindir} | 23 | install -d ${D}${bindir} |
24 | ln -sf ../clang ${D}${bindir}/${TARGET_PREFIX}clang | 24 | ln -sf ../clang ${D}${bindir}/${TARGET_PREFIX}clang |
25 | ln -sf ../clang++ ${D}${bindir}/${TARGET_PREFIX}clang++ | 25 | ln -sf ../clang++ ${D}${bindir}/${TARGET_PREFIX}clang++ |
26 | ln -sf ../clang-tidy ${D}${bindir}/${TARGET_PREFIX}clang-tidy | ||
26 | ln -sf ../llvm-profdata ${D}${bindir}/${TARGET_PREFIX}llvm-profdata | 27 | ln -sf ../llvm-profdata ${D}${bindir}/${TARGET_PREFIX}llvm-profdata |
27 | cross_canadian_bindirlinks | 28 | cross_canadian_bindirlinks |
28 | } | 29 | } |
diff --git a/recipes-devtools/clang/clang-cross_git.bb b/recipes-devtools/clang/clang-cross_git.bb index 618aa5d..f7d58b6 100644 --- a/recipes-devtools/clang/clang-cross_git.bb +++ b/recipes-devtools/clang/clang-cross_git.bb | |||
@@ -18,6 +18,7 @@ do_install() { | |||
18 | install -d ${D}${bindir} | 18 | install -d ${D}${bindir} |
19 | ln -sf ../clang ${D}${bindir}/${TARGET_PREFIX}clang | 19 | ln -sf ../clang ${D}${bindir}/${TARGET_PREFIX}clang |
20 | ln -sf ../clang++ ${D}${bindir}/${TARGET_PREFIX}clang++ | 20 | ln -sf ../clang++ ${D}${bindir}/${TARGET_PREFIX}clang++ |
21 | ln -sf ../clang-tidy ${D}${bindir}/${TARGET_PREFIX}clang-tidy | ||
21 | ln -sf ../llvm-profdata ${D}${bindir}/${TARGET_PREFIX}llvm-profdata | 22 | ln -sf ../llvm-profdata ${D}${bindir}/${TARGET_PREFIX}llvm-profdata |
22 | for tool in llvm-ar llvm-ranlib llvm-nm | 23 | for tool in llvm-ar llvm-ranlib llvm-nm |
23 | do | 24 | do |
diff --git a/recipes-devtools/clang/clang-crosssdk_git.bb b/recipes-devtools/clang/clang-crosssdk_git.bb index 0fd80be..066fe5e 100644 --- a/recipes-devtools/clang/clang-crosssdk_git.bb +++ b/recipes-devtools/clang/clang-crosssdk_git.bb | |||
@@ -18,6 +18,7 @@ do_install() { | |||
18 | install -d ${D}${bindir} | 18 | install -d ${D}${bindir} |
19 | ln -sf ../clang ${D}${bindir}/${TARGET_PREFIX}clang | 19 | ln -sf ../clang ${D}${bindir}/${TARGET_PREFIX}clang |
20 | ln -sf ../clang++ ${D}${bindir}/${TARGET_PREFIX}clang++ | 20 | ln -sf ../clang++ ${D}${bindir}/${TARGET_PREFIX}clang++ |
21 | ln -sf ../clang-tidy ${D}${bindir}/${TARGET_PREFIX}clang-tidy | ||
21 | ln -sf ../llvm-profdata ${D}${bindir}/${TARGET_PREFIX}llvm-profdata | 22 | ln -sf ../llvm-profdata ${D}${bindir}/${TARGET_PREFIX}llvm-profdata |
22 | } | 23 | } |
23 | 24 | ||