summaryrefslogtreecommitdiff
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-17 14:38:39 -0700
commit669c8f650372b9208a036174fc137f23d791d428 (patch)
tree168723fea4a50355d9fd847cebad378449194b28 /classes
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).
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