Merge pull request #68 from MentorEmbedded/misc-fixes

Misc fixes for meta-sourcery
This commit is contained in:
Christopher Larson
2015-04-30 09:00:29 -07:00
5 changed files with 21 additions and 0 deletions

View File

@@ -14,9 +14,16 @@
# LIC_FILES_CHKSUM, so use the license from common-licenses
inherit common-license
# We don't extract anything which will create S, and we don't want to see the
# warning about it
S = "${WORKDIR}"
# Prebuilt binaries, no need for any default dependencies
INHIBIT_DEFAULT_DEPS = "1"
# Missing build deps don't matter when we don't build anything
INSANE_SKIP_${PN} += "build-deps"
EXTERNAL_PN ?= "${@PN.replace('-external', '')}"
PROVIDES += "${EXTERNAL_PN}"
LICENSE = "CLOSED"

View File

@@ -55,6 +55,7 @@ PNBLACKLIST[gcc-cross] = "not building with an external toolchain"
PNBLACKLIST[gcc-cross-initial] = "not building with an external toolchain"
PNBLACKLIST[gcc-cross-intermediate] = "not building with an external toolchain"
PNBLACKLIST[gcc-runtime] = "not building with an external toolchain"
PNBLACKLIST[libgcc-initial] = "not building with an external toolchain"
PNBLACKLIST[libgcc] = "not building with an external toolchain"
PNBLACKLIST[linux-libc-headers] = "not building with an external toolchain"
PNBLACKLIST[linux-libc-headers-yocto] = "not building with an external toolchain"

View File

@@ -0,0 +1,3 @@
# For now, Sourcery G++ doesn't seem to have the gcc version which breaks the
# libunwind build, and it doesn't ship gold, we don't want to try to use it.
LDFLAGS_remove = "-fuse-ld=gold"

View File

@@ -28,3 +28,9 @@ FILES_${PN} = "\
"
INSANE_SKIP_${PN} += "dev-so"
FILES_${PN}-doc = "${mandir}/man1/gdbserver.1"
# Ensure that our rdeps are able to be set by shlibs processing
do_package[depends] += "\
virtual/libc:do_packagedata \
virtual/${TARGET_PREFIX}compilerlibs:do_packagedata \
"

View File

@@ -131,3 +131,7 @@ FILES_${PN}-dev += "\
${includedir}/uchar.h \
"
FILES_${PN}-dev[file-checksums] += "${libc_headers_file}"
# Currently, ldd and tzcode from Sourcery G++ still have #!/bin/bash
RDEPENDS_ldd += "bash"
RDEPENDS_tzcode += "bash"