insane.bbclass: Updated MicroBlaze machine definitions
authorNathan Rossi <nathan.rossi@xilinx.com>
Mon, 8 Apr 2013 06:28:38 +0000 (16:28 +1000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 8 Apr 2013 15:56:45 +0000 (16:56 +0100)
* 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)

(From OE-Core rev: 0c60d3b04eb77629abc3bbc2a6d8a2b8f0a44309)

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass

index 2f10688..75db7a2 100644 (file)
@@ -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" :       {