diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-22 15:25:43 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-26 08:56:25 +0100 |
commit | ebc80fa30a98484b7fd1d568bd0f3d701a6f68d5 (patch) | |
tree | f92ce05e7950e3f5a789de31d2291420f2bc9aa1 /meta/lib | |
parent | e693f2e641afa88dfb53371482e9c5be8dc8eb92 (diff) | |
download | poky-ebc80fa30a98484b7fd1d568bd0f3d701a6f68d5.tar.gz |
siteinfo: Add mechanism to extend siteinfo information from BSP layer
In order to add a new architecture or sub-architecture to OE, you currently
need to tweak the table in siteinfo.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 rp_testfunc2(archinfo, osinfo, targetinfo, d):
archinfo['testarch'] = "little-endian bit-32"
osinfo['testos'] = "common-linux"
targetinfo['mymach-linux'] = "mymach-linux-common"
return archinfo, osinfo, targetinfo
SITEINFO_EXTRA_DATAFUNCS = "rp_testfunc2"
[YOCTO #8554]
(From OE-Core rev: 2718bb9f2eabc15e3ef7cb5d67f4331de4f751d6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
0 files changed, 0 insertions, 0 deletions