summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@embeddedalley.com>2009-04-17 12:58:58 -0700
committerTom Rini <trini@embeddedalley.com>2009-04-17 14:38:39 -0700
commit669c8f650372b9208a036174fc137f23d791d428 (patch)
tree168723fea4a50355d9fd847cebad378449194b28
parent71cc8fba29703c35c02af3657446be614b68c77e (diff)
canadian-sdk: We DO want DEPENDS_prepend to always bring in host virtual gcc/binutils
Without this gdb-canadian-sdk would try and build without a host compiler as it wasn't fixing up this missing dep itself. The comment in the bbclass was wrong (checked -g on all recipes using this bbclass).
-rw-r--r--classes/canadian-sdk.bbclass6
-rw-r--r--recipes/binutils/binutils-canadian-sdk_2.18.bb6
-rw-r--r--recipes/make/mingw-make-canadian-sdk_3.81.bb2
3 files changed, 2 insertions, 12 deletions
diff --git a/classes/canadian-sdk.bbclass b/classes/canadian-sdk.bbclass
index 6b4fdf878a..a6c5552310 100644
--- a/classes/canadian-sdk.bbclass
+++ b/classes/canadian-sdk.bbclass
@@ -19,11 +19,7 @@ CFLAGS = "${SDK_CFLAGS}"
CXXFLAGS = "${SDK_CFLAGS}"
LDFLAGS = "${SDK_LDFLAGS}"
-# TODO: add logic to add the following unless PN ~= gcc*
-#DEPENDS_prepend = "virtual/${HOST_PREFIX}binutils virtual/${HOST_PREFIX}gcc "
-# and otherwise just
-DEPENDS_prepend = "virtual/${HOST_PREFIX}binutils "
-
+DEPENDS_prepend = "virtual/${HOST_PREFIX}binutils virtual/${HOST_PREFIX}gcc "
# On mingw systems we want to have the real sysroot default to c:/... and
# assume that the default install will be on the C drive. This can be changed
diff --git a/recipes/binutils/binutils-canadian-sdk_2.18.bb b/recipes/binutils/binutils-canadian-sdk_2.18.bb
index e44e7b7144..96726f82a8 100644
--- a/recipes/binutils/binutils-canadian-sdk_2.18.bb
+++ b/recipes/binutils/binutils-canadian-sdk_2.18.bb
@@ -2,11 +2,7 @@ SECTION = "devel"
require binutils_${PV}.bb
inherit canadian-sdk
-DEPENDS="\
- virtual/${HOST_PREFIX}binutils \
- virtual/${HOST_PREFIX}gcc \
- flex-native bison-native \
-"
+DEPENDS = "flex-native bison-native"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
# On MinGW hosts we want to prepend a drive letter, in ${SDK_REALPATH_MINGW}
diff --git a/recipes/make/mingw-make-canadian-sdk_3.81.bb b/recipes/make/mingw-make-canadian-sdk_3.81.bb
index 3479dad249..a4b1f729ce 100644
--- a/recipes/make/mingw-make-canadian-sdk_3.81.bb
+++ b/recipes/make/mingw-make-canadian-sdk_3.81.bb
@@ -9,8 +9,6 @@ interdependent files, and, if necessary, issues commands \
to bring them up-to-date - MinGW port."
HOMEPAGE = "http://www.mingw.org/"
-DEPENDS = "virtual/${HOST_PREFIX}binutils virtual/${HOST_PREFIX}gcc"
-
SRC_URI = "${SOURCEFORGE_MIRROR}/mingw/mingw32-make-3.81-20080326-src.tar.gz"
S = "${WORKDIR}/make-${PV}-patched"