summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/clang/clang-cross_git.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-07-23 22:52:42 -0700
committerKhem Raj <raj.khem@gmail.com>2015-07-23 22:52:42 -0700
commitabd6d72c0ae56ce1879d411f08beab161fae089d (patch)
treec7dc6c9f7a98332f4d6850c5cd14bad2beeb46ea /recipes-devtools/clang/clang-cross_git.bb
parentc5a27009db033296291c94c3ef03559a254a7dce (diff)
downloadmeta-clang-abd6d72c0ae56ce1879d411f08beab161fae089d.tar.gz
clang--cross-canadian,clang-cross: Fix missing dependencies
These deps makes sure that when the individual target is built then it bullds a working tool no need to stage into ${D}${bindir_crossscripts} unnecessarily when staging code is undoing that Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-devtools/clang/clang-cross_git.bb')
-rw-r--r--recipes-devtools/clang/clang-cross_git.bb10
1 files changed, 5 insertions, 5 deletions
diff --git a/recipes-devtools/clang/clang-cross_git.bb b/recipes-devtools/clang/clang-cross_git.bb
index 15ab38d..9828d53 100644
--- a/recipes-devtools/clang/clang-cross_git.bb
+++ b/recipes-devtools/clang/clang-cross_git.bb
@@ -11,20 +11,20 @@ PN = "clang-cross-${TARGET_ARCH}"
11 11
12require clang.inc 12require clang.inc
13inherit cross 13inherit cross
14DEPENDS += "clang-native binutils-cross-${TARGET_ARCH}" 14DEPENDS += "clang-native binutils-cross-${TARGET_ARCH} virtual/${TARGET_PREFIX}libc-for-gcc"
15 15
16S = "${WORKDIR}" 16S = "${WORKDIR}"
17 17
18do_install() { 18do_install() {
19 install -d ${D}${bindir_crossscripts}/ 19 install -d ${D}${bindir}
20 ln -sf ../clang ${D}${bindir_crossscripts}/${TARGET_PREFIX}clang 20 ln -sf ../clang ${D}${bindir}/${TARGET_PREFIX}clang
21 ln -sf ../clang++ ${D}${bindir_crossscripts}/${TARGET_PREFIX}clang++ 21 ln -sf ../clang++ ${D}${bindir}/${TARGET_PREFIX}clang++
22} 22}
23 23
24SYSROOT_PREPROCESS_FUNCS += "clangcross_sysroot_preprocess" 24SYSROOT_PREPROCESS_FUNCS += "clangcross_sysroot_preprocess"
25 25
26clangcross_sysroot_preprocess () { 26clangcross_sysroot_preprocess () {
27 sysroot_stage_dir ${D}${bindir_crossscripts} ${SYSROOT_DESTDIR}${bindir} 27 sysroot_stage_dir ${D}${bindir} ${SYSROOT_DESTDIR}${bindir}
28} 28}
29SSTATE_SCAN_FILES += "*-clang *-clang++" 29SSTATE_SCAN_FILES += "*-clang *-clang++"
30PACKAGES = "" 30PACKAGES = ""