[OE-core] [PATCH] insane.bbclass: Updated MicroBlaze machine definitions

Nathan Rossi nathan.rossi at xilinx.com
Mon Apr 8 06:28:38 UTC 2013


* Removed existing definition with machine 47787, this
  definition is outdated, a sanity error should occur if an ELF uses this
  value.
* Added new definition with machine 189. This value replaces the existing
  value since August 2009. See binutils thread for more information.
  (http://sourceware.org/ml/binutils/2009-08/msg00127.html)

Signed-off-by: Nathan Rossi <nathan.rossi at xilinx.com>
---
 meta/classes/insane.bbclass |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 2f10688..75db7a2 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -60,6 +60,8 @@ def package_qa_get_machine_dict():
                         "s390":       (22,     0,    0,          False,         32),
                         "sh4":        (42,     0,    0,          True,          32),
                         "sparc":      ( 2,     0,    0,          False,         32),
+                        "microblaze":  (189,   0,    0,          False,         32),
+                        "microblazeel":(189,   0,    0,          True,          32),
                       },
             "linux-uclibc" : { 
                         "arm" :       (  40,    97,    0,          True,          32),
@@ -97,8 +99,6 @@ def package_qa_get_machine_dict():
                       },
             "linux-gnu" :       {
                         "powerpc":    (20,     0,    0,          False,         32),
-                        "microblaze":   (47787,  0,    0,          False,         32),
-                        "microblazeel": (47787,  0,    0,          True,          32),
                         "sh4":        (42,     0,    0,          True,          32),
                       },
             "linux-gnux32" :       {
-- 
1.7.5.4






More information about the Openembedded-core mailing list