Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: OpenEmbedded Devel List <openembedded-devel@openembedded.org>
Subject: [PATCH][STABLE] canadian-sdk: We DO want DEPENDS_prepend to always bring in host virtual gcc/binutils
Date: Fri, 24 Apr 2009 09:11:57 -0700	[thread overview]
Message-ID: <1240589520-1104-10-git-send-email-trini@kernel.crashing.org> (raw)
In-Reply-To: <1240589520-1104-9-git-send-email-trini@kernel.crashing.org>

From: Tom Rini <trini@embeddedalley.com>


Signed-off-by: Tom Rini <trini@embeddedalley.com>
---
 classes/canadian-sdk.bbclass                   |    6 +-----
 recipes/binutils/binutils-canadian-sdk_2.18.bb |    6 +-----
 recipes/make/mingw-make-canadian-sdk_3.81.bb   |    2 --
 3 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/classes/canadian-sdk.bbclass b/classes/canadian-sdk.bbclass
index 6b4fdf8..a6c5552 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 e44e7b7..96726f8 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 3479dad..a4b1f72 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"
-- 
1.5.6.3




  reply	other threads:[~2009-04-24 16:45 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-24 16:11 [PATCH][STABLE] Various SDK-related updates Tom Rini
2009-04-24 16:11 ` [PATCH][STABLE] binutils-cross-sdk: Make relative, not absolute symlinks for 'as', etc, bump PR Tom Rini
2009-04-24 16:11   ` [PATCH][STABLE] gcc-cross-sdk: Fix relocation of the toolchain and " Tom Rini
2009-04-24 16:11     ` [PATCH][STABLE] meta-toolchain, canadian-sdk: Move C++ headers into the correct location, " Tom Rini
2009-04-24 16:11       ` [PATCH][STABLE] meta-toolchain-gpe-sbox: Drop task-sdk-gpephone (to match m-t-gpe), " Tom Rini
2009-04-24 16:11         ` [PATCH][STABLE] wireless-tools: Fix libiw/ifrename packages, " Tom Rini
2009-04-24 16:11           ` [PATCH][STABLE] canadian-sdk: Add SDK_REALPATH_MINGW variable, so that we can prepend a drive letter for sysroot Tom Rini
2009-04-24 16:11             ` [PATCH][STABLE] binutils-canadian-sdk: Use add SYSROOT, use SDK_REALPATH_MINGW, bump PR Tom Rini
2009-04-24 16:11               ` [PATCH][STABLE] gcc-canadian-sdk: Fix C++ relocation, " Tom Rini
2009-04-24 16:11                 ` Tom Rini [this message]
2009-04-24 16:11                   ` [PATCH][STABLE] canadian-sdk: Synchronize (to some extent) canadian-sdk.bb with meta-toolchain.bb Tom Rini
2009-04-24 16:11                     ` [PATCH][STABLE] mingw-gcc, mingw-runtime, mingw-w32api: Fix DEFAULT_PREFERENCES to be correct Tom Rini
2009-04-24 16:12                       ` [PATCH][STABLE] SlugOS: toolchain/sdk - add a number of missing components Tom Rini
2009-04-28 20:20                         ` Khem Raj
2009-04-28 20:18                       ` [PATCH][STABLE] mingw-gcc, mingw-runtime, mingw-w32api: Fix DEFAULT_PREFERENCES to be correct Khem Raj
2009-04-28 20:17                     ` [PATCH][STABLE] canadian-sdk: Synchronize (to some extent) canadian-sdk.bb with meta-toolchain.bb Khem Raj
2009-04-28 20:13                   ` [PATCH][STABLE] canadian-sdk: We DO want DEPENDS_prepend to always bring in host virtual gcc/binutils Khem Raj
2009-04-28 20:12                 ` [PATCH][STABLE] gcc-canadian-sdk: Fix C++ relocation, add SYSROOT, use SDK_REALPATH_MINGW, bump PR Khem Raj
2009-04-28 20:11               ` [PATCH][STABLE] binutils-canadian-sdk: Use " Khem Raj
2009-04-28 16:02           ` [PATCH][STABLE] wireless-tools: Fix libiw/ifrename packages, " Marcin Juszkiewicz
2009-04-25 21:33       ` [PATCH][STABLE] meta-toolchain, canadian-sdk: Move C++ headers into the correct location, " Marcin Juszkiewicz
2009-04-25 22:00         ` Tom Rini
2009-04-24 18:28 ` [PATCH][STABLE] Various SDK-related updates Tom Rini
2009-05-02 21:28   ` Tom Rini
2009-05-05 20:52     ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1240589520-1104-10-git-send-email-trini@kernel.crashing.org \
    --to=trini@kernel.crashing.org \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-devel@openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox