summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/externalsrc.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index c9f5cf767d..78a08c80ad 100644
--- a/meta/classes/externalsrc.bbclass
+++ b/meta/classes/externalsrc.bbclass
@@ -41,8 +41,8 @@ python () {
41 # re-parsed so that the file-checksums function for do_compile is run every 41 # re-parsed so that the file-checksums function for do_compile is run every
42 # time. 42 # time.
43 bpn = d.getVar('BPN') 43 bpn = d.getVar('BPN')
44 if bpn == d.getVar('PN'): 44 classextend = (d.getVar('BBCLASSEXTEND') or '').split()
45 classextend = (d.getVar('BBCLASSEXTEND') or '').split() 45 if bpn == d.getVar('PN') or not classextend:
46 if (externalsrc or 46 if (externalsrc or
47 ('native' in classextend and 47 ('native' in classextend and
48 d.getVar('EXTERNALSRC_pn-%s-native' % bpn)) or 48 d.getVar('EXTERNALSRC_pn-%s-native' % bpn)) or