mirror of
https://git.yoctoproject.org/poky
synced 2026-04-22 06:32:12 +02:00
Only add uninative and checksum if inherited uninative class
The checksum value is only calculated if the uninative class is inherited, so check for inherit before adding it to local.conf (From OE-Core rev: 3b5b832589d943700b273e3a4d83561be0c47f36) Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
cc9a768192
commit
90d6d998ce
@@ -319,8 +319,9 @@ python copy_buildsystem () {
|
||||
f.write('TCLIBCAPPEND = ""\n')
|
||||
f.write('DL_DIR = "${TOPDIR}/downloads"\n')
|
||||
|
||||
f.write('INHERIT += "%s"\n' % 'uninative')
|
||||
f.write('UNINATIVE_CHECKSUM[%s] = "%s"\n\n' % (d.getVar('BUILD_ARCH'), uninative_checksum))
|
||||
if bb.data.inherits_class('uninative', d):
|
||||
f.write('INHERIT += "%s"\n' % 'uninative')
|
||||
f.write('UNINATIVE_CHECKSUM[%s] = "%s"\n\n' % (d.getVar('BUILD_ARCH'), uninative_checksum))
|
||||
f.write('CONF_VERSION = "%s"\n\n' % d.getVar('CONF_VERSION', False))
|
||||
|
||||
# Some classes are not suitable for SDK, remove them from INHERIT
|
||||
|
||||
Reference in New Issue
Block a user