diff options
author | Richard Purdie <richard@openedhand.com> | 2007-04-03 11:31:02 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-04-03 11:31:02 +0000 |
commit | 409335beaede58ed792030f9da0fcea39f32f1c7 (patch) | |
tree | 2d25f86c2c48caef8a9ef8f301b423ae7b0ee81e /meta/classes/base.bbclass | |
parent | bd0ca262c95d28dc45305efbc03e53607e9c9a0a (diff) | |
download | poky-409335beaede58ed792030f9da0fcea39f32f1c7.tar.gz |
classes: Rework core dependencies to work properly at the task level
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1427 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 3cff42c138..4a1b09b1a4 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -12,12 +12,6 @@ def base_dep_prepend(d): | |||
12 | # INHIBIT_DEFAULT_DEPS doesn't apply to the patch command. Whether or not | 12 | # INHIBIT_DEFAULT_DEPS doesn't apply to the patch command. Whether or not |
13 | # we need that built is the responsibility of the patch function / class, not | 13 | # we need that built is the responsibility of the patch function / class, not |
14 | # the application. | 14 | # the application. |
15 | patchdeps = bb.data.getVar("PATCHTOOL", d, 1) | ||
16 | if patchdeps: | ||
17 | patchdeps = "%s-native" % patchdeps | ||
18 | if not patchdeps in bb.data.getVar("PROVIDES", d, 1): | ||
19 | deps = patchdeps | ||
20 | |||
21 | if not bb.data.getVar('INHIBIT_DEFAULT_DEPS', d): | 15 | if not bb.data.getVar('INHIBIT_DEFAULT_DEPS', d): |
22 | if (bb.data.getVar('HOST_SYS', d, 1) != | 16 | if (bb.data.getVar('HOST_SYS', d, 1) != |
23 | bb.data.getVar('BUILD_SYS', d, 1)): | 17 | bb.data.getVar('BUILD_SYS', d, 1)): |