summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-22 21:38:20 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-24 15:12:28 +0000
commit4b45039be4d1808e369f9cd22f332c6e3c540f1c (patch)
treea2864d0b6ffd5f77355d269b447fbda70221f300 /meta
parentcf61ea24d29b663ebdac091ec98211a82693b093 (diff)
downloadpoky-4b45039be4d1808e369f9cd22f332c6e3c540f1c.tar.gz
sstate: Add a rule for target sysroot requirements from cross dependencies
For example gcc-cross depends on linux-libc-headers and needs it to be present to build/work correctly. (From OE-Core rev: 43ce7a1d86bf82d976ad241057a4207b1a340b3b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/sstate.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 470e0eeca7..b8a766b7d3 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -663,6 +663,10 @@ def setscene_depvalid(task, taskdependees, notneeded, d):
663 # Native/Cross populate_sysroot need their dependencies 663 # Native/Cross populate_sysroot need their dependencies
664 if isNativeCross(taskdependees[task][0]) and isNativeCross(taskdependees[dep][0]) and taskdependees[task][1] == 'do_populate_sysroot' and taskdependees[dep][1] == 'do_populate_sysroot': 664 if isNativeCross(taskdependees[task][0]) and isNativeCross(taskdependees[dep][0]) and taskdependees[task][1] == 'do_populate_sysroot' and taskdependees[dep][1] == 'do_populate_sysroot':
665 return False 665 return False
666 # Target populate_sysroot depended on by cross tools need to be installed
667 if taskdependees[task][1] == 'do_populate_sysroot' and taskdependees[dep][1] == 'do_populate_sysroot' and isNativeCross(taskdependees[dep][0]):
668 return False
669
666 # Target populate_sysroot do not need their dependencies 670 # Target populate_sysroot do not need their dependencies
667 if taskdependees[task][1] == 'do_populate_sysroot' and taskdependees[dep][1] == 'do_populate_sysroot': 671 if taskdependees[task][1] == 'do_populate_sysroot' and taskdependees[dep][1] == 'do_populate_sysroot':
668 continue 672 continue