summaryrefslogtreecommitdiffstats
path: root/meta/classes/externalsrc.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/externalsrc.bbclass')
-rw-r--r--meta/classes/externalsrc.bbclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index 3d6b80bee2..54b08adf62 100644
--- a/meta/classes/externalsrc.bbclass
+++ b/meta/classes/externalsrc.bbclass
@@ -13,7 +13,7 @@
13# called "myrecipe" you would do: 13# called "myrecipe" you would do:
14# 14#
15# INHERIT += "externalsrc" 15# INHERIT += "externalsrc"
16# EXTERNALSRC_pn-myrecipe = "/path/to/my/source/tree" 16# EXTERNALSRC:pn-myrecipe = "/path/to/my/source/tree"
17# 17#
18# In order to make this class work for both target and native versions (or with 18# In order to make this class work for both target and native versions (or with
19# multilibs/cross or other BBCLASSEXTEND variants), B is set to point to a separate 19# multilibs/cross or other BBCLASSEXTEND variants), B is set to point to a separate
@@ -21,7 +21,7 @@
21# the default, but the build directory can be set to the source directory if 21# the default, but the build directory can be set to the source directory if
22# circumstances dictate by setting EXTERNALSRC_BUILD to the same value, e.g.: 22# circumstances dictate by setting EXTERNALSRC_BUILD to the same value, e.g.:
23# 23#
24# EXTERNALSRC_BUILD_pn-myrecipe = "/path/to/my/source/tree" 24# EXTERNALSRC_BUILD:pn-myrecipe = "/path/to/my/source/tree"
25# 25#
26 26
27SRCTREECOVEREDTASKS ?= "do_patch do_unpack do_fetch" 27SRCTREECOVEREDTASKS ?= "do_patch do_unpack do_fetch"
@@ -45,11 +45,11 @@ python () {
45 if bpn == d.getVar('PN') or not classextend: 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
49 ('nativesdk' in classextend and 49 ('nativesdk' in classextend and
50 d.getVar('EXTERNALSRC_pn-nativesdk-%s' % bpn)) or 50 d.getVar('EXTERNALSRC:pn-nativesdk-%s' % bpn)) or
51 ('cross' in classextend and 51 ('cross' in classextend and
52 d.getVar('EXTERNALSRC_pn-%s-cross' % bpn))): 52 d.getVar('EXTERNALSRC:pn-%s-cross' % bpn))):
53 d.setVar('BB_DONT_CACHE', '1') 53 d.setVar('BB_DONT_CACHE', '1')
54 54
55 if externalsrc: 55 if externalsrc: