aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorTom Rini <trini@embeddedalley.com>2009-04-17 12:58:58 -0700
committerTom Rini <trini@embeddedalley.com>2009-04-24 08:27:31 -0700
commitd5babe261a02da45e4cf20bad9635c5a37ee4866 (patch)
treef34957c78d633f2140d76af9ef45a96d2b55adca /classes
parent8a907e0dcb71727f14b6fc386ab2970994bcfbb6 (diff)
downloadopenembedded-d5babe261a02da45e4cf20bad9635c5a37ee4866.tar.gz
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).
Diffstat (limited to 'classes')
-rw-r--r--classes/canadian-sdk.bbclass6
1 files changed, 1 insertions, 5 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