[oe-commits] Tom Rini : mingw-gcc, mingw-runtime, mingw-w32api: Fix DEFAULT_PREFERENCES to be correct

GIT User account git at amethyst.openembedded.net
Fri Apr 17 21:46:55 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: ad507618ca0f888b45763c286dae033873cac468
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ad507618ca0f888b45763c286dae033873cac468

Author: Tom Rini <trini at embeddedalley.com>
Date:   Fri Apr 17 13:06:09 2009 -0700

mingw-gcc, mingw-runtime, mingw-w32api: Fix DEFAULT_PREFERENCES to be correct
We want a default of -1 (not 0) and 1 for "mingw32" so that the default list
of overrides will catch and use them.

---

 recipes/gcc/mingw-gcc_3.4.5-20060117-2.bb |    4 ++--
 recipes/mingw/mingw-runtime.inc           |    4 ++--
 recipes/mingw/mingw-w32api.inc            |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/recipes/gcc/mingw-gcc_3.4.5-20060117-2.bb b/recipes/gcc/mingw-gcc_3.4.5-20060117-2.bb
index 22f9170..fd45e9f 100644
--- a/recipes/gcc/mingw-gcc_3.4.5-20060117-2.bb
+++ b/recipes/gcc/mingw-gcc_3.4.5-20060117-2.bb
@@ -4,8 +4,8 @@ HOMEPAGE = "http://www.mingw.org/"
 SECTION = "devel"
 LICENSE = "GPL"
 
-DEFAULT_PREFERENCE = "0"
-DEFAULT_PREFERENCE_sdk-mingw32 = "1"
+DEFAULT_PREFERENCE = "-1"
+DEFAULT_PREFERENCE_mingw32 = "1"
 
 inherit autotools gettext
 
diff --git a/recipes/mingw/mingw-runtime.inc b/recipes/mingw/mingw-runtime.inc
index d984911..5820e99 100644
--- a/recipes/mingw/mingw-runtime.inc
+++ b/recipes/mingw/mingw-runtime.inc
@@ -5,8 +5,8 @@ DEPENDS = "virtual/${TARGET_PREFIX}gcc-initial mingw-w32api"
 
 PROVIDES = "virtual/${TARGET_PREFIX}libc virtual/${TARGET_PREFIX}libc-for-gcc"
 
-DEFAULT_PREFERENCE = "0"
-DEFAULT_PREFERENCE_sdk-mingw32 = "1"
+DEFAULT_PREFERENCE = "-1"
+DEFAULT_PREFERENCE_mingw32 = "1"
 
 PACKAGES = ""
 
diff --git a/recipes/mingw/mingw-w32api.inc b/recipes/mingw/mingw-w32api.inc
index ecb1cd2..ac2ede9 100644
--- a/recipes/mingw/mingw-w32api.inc
+++ b/recipes/mingw/mingw-w32api.inc
@@ -5,8 +5,8 @@ DEPENDS = "virtual/${TARGET_PREFIX}gcc-initial"
 
 PROVIDES = "mingw-w32api"
 
-DEFAULT_PREFERENCE = "0"
-DEFAULT_PREFERENCE_sdk-mingw32 = "1"
+DEFAULT_PREFERENCE = "-1"
+DEFAULT_PREFERENCE_mingw32 = "1"
 
 PACKAGES = ""
 





More information about the Openembedded-commits mailing list