mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
externalsrc.bbclass: Set BB_DONT_CACHE for non-target recipes
BB_DONT_CACHE was not set for non-virtual recipes where PN != BPN, such as quilt-native. Recipes that do not set BBCLASSEXTEND should always have BB_DONT_CACHE set by externalsrc. (From OE-Core rev: 4eff427a0ee629a1541a420a9591411648569a97) Signed-off-by: Ola x Nilsson <olani@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3ef46df474
commit
244ba49784
@@ -41,8 +41,8 @@ python () {
|
|||||||
# re-parsed so that the file-checksums function for do_compile is run every
|
# re-parsed so that the file-checksums function for do_compile is run every
|
||||||
# time.
|
# time.
|
||||||
bpn = d.getVar('BPN')
|
bpn = d.getVar('BPN')
|
||||||
if bpn == d.getVar('PN'):
|
classextend = (d.getVar('BBCLASSEXTEND') or '').split()
|
||||||
classextend = (d.getVar('BBCLASSEXTEND') or '').split()
|
if bpn == d.getVar('PN') or not classextend:
|
||||||
if (externalsrc or
|
if (externalsrc or
|
||||||
('native' in classextend and
|
('native' in classextend and
|
||||||
d.getVar('EXTERNALSRC_pn-%s-native' % bpn)) or
|
d.getVar('EXTERNALSRC_pn-%s-native' % bpn)) or
|
||||||
|
|||||||
Reference in New Issue
Block a user