diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-05-06 05:48:55 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2016-05-06 05:48:55 -0700 |
commit | 8b9f6773c2a250e2f5e85426066a745bc3e6493e (patch) | |
tree | c80a10dac207d1ca41cd7a0555d01b6b58b2997f | |
parent | d56afbc8779b0c25541959ebc32fcdcfd1eb7cea (diff) | |
download | meta-clang-8b9f6773c2a250e2f5e85426066a745bc3e6493e.tar.gz |
clang-cross: Remove dep on libc-for-gcc
We do not need libc to build clang
Add dep on clang-cross when building musl
with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | recipes-core/musl/musl_%.bbappend | 1 | ||||
-rw-r--r-- | recipes-devtools/clang/clang-cross_git.bb | 2 | ||||
-rw-r--r-- | recipes-excluded/nonclangable/musl_%.bbappend | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/recipes-core/musl/musl_%.bbappend b/recipes-core/musl/musl_%.bbappend new file mode 100644 index 0000000..c8b9878 --- /dev/null +++ b/recipes-core/musl/musl_%.bbappend | |||
@@ -0,0 +1 @@ | |||
DEPENDS_append_toolchain-clang = " clang-cross-${TARGET_ARCH}" | |||
diff --git a/recipes-devtools/clang/clang-cross_git.bb b/recipes-devtools/clang/clang-cross_git.bb index 9828d53..62c677e 100644 --- a/recipes-devtools/clang/clang-cross_git.bb +++ b/recipes-devtools/clang/clang-cross_git.bb | |||
@@ -11,7 +11,7 @@ PN = "clang-cross-${TARGET_ARCH}" | |||
11 | 11 | ||
12 | require clang.inc | 12 | require clang.inc |
13 | inherit cross | 13 | inherit cross |
14 | DEPENDS += "clang-native binutils-cross-${TARGET_ARCH} virtual/${TARGET_PREFIX}libc-for-gcc" | 14 | DEPENDS += "clang-native binutils-cross-${TARGET_ARCH}" |
15 | 15 | ||
16 | S = "${WORKDIR}" | 16 | S = "${WORKDIR}" |
17 | 17 | ||
diff --git a/recipes-excluded/nonclangable/musl_%.bbappend b/recipes-excluded/nonclangable/musl_%.bbappend deleted file mode 100644 index b0cab1b..0000000 --- a/recipes-excluded/nonclangable/musl_%.bbappend +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | TOOLCHAIN = "gcc" | ||
2 | |||