summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/clang
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/clang')
-rw-r--r--recipes-devtools/clang/clang-cross-canadian_git.bb3
-rw-r--r--recipes-devtools/clang/clang-cross_git.bb3
-rw-r--r--recipes-devtools/clang/clang-crosssdk_git.bb3
3 files changed, 6 insertions, 3 deletions
diff --git a/recipes-devtools/clang/clang-cross-canadian_git.bb b/recipes-devtools/clang/clang-cross-canadian_git.bb
index 0d2fd26..834c969 100644
--- a/recipes-devtools/clang/clang-cross-canadian_git.bb
+++ b/recipes-devtools/clang/clang-cross-canadian_git.bb
@@ -24,7 +24,8 @@ do_install() {
24 install -d ${D}${bindir} 24 install -d ${D}${bindir}
25 ln -sf ../clang ${D}${bindir}/${TARGET_PREFIX}clang 25 ln -sf ../clang ${D}${bindir}/${TARGET_PREFIX}clang
26 ln -sf ../clang++ ${D}${bindir}/${TARGET_PREFIX}clang++ 26 ln -sf ../clang++ ${D}${bindir}/${TARGET_PREFIX}clang++
27 ln -sf ../llvm-profdata ${D}${bindir}/${TARGET_PREFIX}llvm-profdata
27 cross_canadian_bindirlinks 28 cross_canadian_bindirlinks
28} 29}
29 30
30SSTATE_SCAN_FILES += "*-clang *-clang++" 31SSTATE_SCAN_FILES += "*-clang *-clang++ *-llvm-profdata"
diff --git a/recipes-devtools/clang/clang-cross_git.bb b/recipes-devtools/clang/clang-cross_git.bb
index f012ea2..2aa67f0 100644
--- a/recipes-devtools/clang/clang-cross_git.bb
+++ b/recipes-devtools/clang/clang-cross_git.bb
@@ -19,6 +19,7 @@ do_install() {
19 install -d ${D}${bindir} 19 install -d ${D}${bindir}
20 ln -sf ../clang ${D}${bindir}/${TARGET_PREFIX}clang 20 ln -sf ../clang ${D}${bindir}/${TARGET_PREFIX}clang
21 ln -sf ../clang++ ${D}${bindir}/${TARGET_PREFIX}clang++ 21 ln -sf ../clang++ ${D}${bindir}/${TARGET_PREFIX}clang++
22 ln -sf ../llvm-profdata ${D}${bindir}/${TARGET_PREFIX}llvm-profdata
22} 23}
23 24
24SYSROOT_PREPROCESS_FUNCS += "clangcross_sysroot_preprocess" 25SYSROOT_PREPROCESS_FUNCS += "clangcross_sysroot_preprocess"
@@ -26,5 +27,5 @@ SYSROOT_PREPROCESS_FUNCS += "clangcross_sysroot_preprocess"
26clangcross_sysroot_preprocess () { 27clangcross_sysroot_preprocess () {
27 sysroot_stage_dir ${D}${bindir} ${SYSROOT_DESTDIR}${bindir} 28 sysroot_stage_dir ${D}${bindir} ${SYSROOT_DESTDIR}${bindir}
28} 29}
29SSTATE_SCAN_FILES += "*-clang *-clang++" 30SSTATE_SCAN_FILES += "*-clang *-clang++ *-llvm-profdata"
30PACKAGES = "" 31PACKAGES = ""
diff --git a/recipes-devtools/clang/clang-crosssdk_git.bb b/recipes-devtools/clang/clang-crosssdk_git.bb
index 5f2f59b..1ac7b36 100644
--- a/recipes-devtools/clang/clang-crosssdk_git.bb
+++ b/recipes-devtools/clang/clang-crosssdk_git.bb
@@ -19,11 +19,12 @@ do_install() {
19 install -d ${D}${bindir} 19 install -d ${D}${bindir}
20 ln -sf ../clang ${D}${bindir}/${TARGET_PREFIX}clang 20 ln -sf ../clang ${D}${bindir}/${TARGET_PREFIX}clang
21 ln -sf ../clang++ ${D}${bindir}/${TARGET_PREFIX}clang++ 21 ln -sf ../clang++ ${D}${bindir}/${TARGET_PREFIX}clang++
22 ln -sf ../llvm-profdata ${D}${bindir}/${TARGET_PREFIX}llvm-profdata
22} 23}
23 24
24sysroot_stage_all () { 25sysroot_stage_all () {
25 sysroot_stage_dir ${D}${bindir} ${SYSROOT_DESTDIR}${bindir} 26 sysroot_stage_dir ${D}${bindir} ${SYSROOT_DESTDIR}${bindir}
26} 27}
27 28
28SSTATE_SCAN_FILES += "*-clang *-clang++" 29SSTATE_SCAN_FILES += "*-clang *-clang++ *-llvm-profdata"
29PACKAGES = "" 30PACKAGES = ""