diff options
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/uclibc/uclibc.inc | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/meta/recipes-core/uclibc/uclibc.inc b/meta/recipes-core/uclibc/uclibc.inc index 15d4e52708..00f5e8dc9c 100644 --- a/meta/recipes-core/uclibc/uclibc.inc +++ b/meta/recipes-core/uclibc/uclibc.inc | |||
@@ -36,21 +36,11 @@ cp ${SYSROOT_DESTDIR}${libdir}/libc.so ${WORKDIR}/site_config_libc; \ | |||
36 | sed -i -e 's# ${base_libdir}# ${SYSROOT_DESTDIR}${base_libdir}#g' -e 's# ${libdir}# ${SYSROOT_DESTDIR}${libdir}#g' ${WORKDIR}/site_config_libc/libc.so; \ | 36 | sed -i -e 's# ${base_libdir}# ${SYSROOT_DESTDIR}${base_libdir}#g' -e 's# ${libdir}# ${SYSROOT_DESTDIR}${libdir}#g' ${WORKDIR}/site_config_libc/libc.so; \ |
37 | " | 37 | " |
38 | 38 | ||
39 | # | ||
40 | # For now, we will skip building of a gcc package if it is a uclibc one | 39 | # For now, we will skip building of a gcc package if it is a uclibc one |
41 | # and our build is not a uclibc one, and we skip a glibc one if our build | 40 | # and our build is not a uclibc one, and we skip a glibc one if our build |
42 | # is a uclibc build. | 41 | # is a uclibc build. |
43 | # | 42 | COMPATIBLE_HOST = ".*-uclibc.*" |
44 | # See the note in gcc/gcc_3.4.0.oe | ||
45 | # | ||
46 | 43 | ||
47 | python __anonymous () { | ||
48 | import bb, re | ||
49 | uc_os = (re.match('.*uclibc*', bb.data.getVar('TARGET_OS', d, 1)) != None) | ||
50 | if not uc_os: | ||
51 | raise bb.parse.SkipPackage("incompatible with target %s" % | ||
52 | bb.data.getVar('TARGET_OS', d, 1)) | ||
53 | } | ||
54 | PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" | 44 | PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" |
55 | DEPENDS = "virtual/${TARGET_PREFIX}binutils \ | 45 | DEPENDS = "virtual/${TARGET_PREFIX}binutils \ |
56 | virtual/${TARGET_PREFIX}gcc-intermediate \ | 46 | virtual/${TARGET_PREFIX}gcc-intermediate \ |