]> code.ossystems Code Review - openembedded-core.git/commitdiff
insane.bbclass: Adds powerpc to elf headers machine dictionary
authorAlejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Fri, 4 May 2018 19:57:41 +0000 (12:57 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 Jun 2018 07:54:17 +0000 (08:54 +0100)
This patch adds makes it possible to build elf for powerpc by adding
this combination to the elf headers machine dictionary, this can be
useful when trying to build baremetal applications where the TARGET_OS=elf

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
meta/classes/insane.bbclass

index fa154608420126ec2b5fef4707dc554ad1c99534..bd7f51956a60529a17c249e42fc344ecbaef3f48 100644 (file)
@@ -71,6 +71,7 @@ def package_qa_get_machine_dict(d):
                         "microblaze":  (189,   0,    0,          False,         32),
                         "microblazeeb":(189,   0,    0,          False,         32),
                         "microblazeel":(189,   0,    0,          True,          32),
+                        "powerpc":    (20,     0,    0,          False,         32),
                         "riscv32":    (243,    0,    0,          True,          32),
                         "riscv64":    (243,    0,    0,          True,          64),
                       },