]> code.ossystems Code Review - openembedded-core.git/commit
insane: Add mechanism to extend QA machine information from BSP layer
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Jul 2016 14:25:00 +0000 (15:25 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Jul 2016 22:46:55 +0000 (23:46 +0100)
commitc57550c9cca598315ba4408e44b138cecc22b8a0
tree90e4cb2bc7f03ca388112fed7ff996b54fdcae6a
parent0a2df616a5c3316704742f1dcf37b450920e0280
insane: Add mechanism to extend QA machine information from BSP layer

In order to add a new architecture or sub-architecture to OE, you currently
need to tweak the table in insane.bbclass. This adds a mechanism so this
can be done from a BSP layer. It needs a function definition which needs
a class file but can then be done with something like:

def my_testfunc(machdata, d):
    machdata["testmachine"] = {
                        "test64":       ( 8,     0,    0,          False,         32),
                        "testel":     ( 8,     0,    0,          True,          32),
                      }
    return machdata

PACKAGEQA_EXTRA_MACHDEFFUNCS = "my_testfunc"

[YOCTO #8554]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass