diff options
author | Richard Purdie <richard@openedhand.com> | 2006-10-22 12:06:41 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-10-22 12:06:41 +0000 |
commit | 77597031696448e691831ddca735c8fd096788f5 (patch) | |
tree | 60f8e78da0d03e8d0d3c3276989b9f71da11984c /meta/classes/package.bbclass | |
parent | e7d0f3d57c11183a584c1e1cca955b849c9de9c3 (diff) | |
download | poky-77597031696448e691831ddca735c8fd096788f5.tar.gz |
package.bbclass: Partially fix another dubious use of packages[0]
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@812 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r-- | meta/classes/package.bbclass | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index b8f4f23a18..44db26ffbc 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -51,7 +51,14 @@ def do_split_packages(d, root, file_regex, output_pattern, description, postinst | |||
51 | objs.append(relpath) | 51 | objs.append(relpath) |
52 | 52 | ||
53 | if extra_depends == None: | 53 | if extra_depends == None: |
54 | extra_depends = packages[0] | 54 | # This is *really* broken |
55 | mainpkg = packages[0] | ||
56 | # At least try and patch it up I guess... | ||
57 | if mainpkg.find('-dbg'): | ||
58 | mainpkg = mainpkg.replace('-dbg', '') | ||
59 | if mainpkg.find('-dev'): | ||
60 | mainpkg = mainpkg.replace('-dev', '') | ||
61 | extra_depends = mainpkg | ||
55 | 62 | ||
56 | for o in objs: | 63 | for o in objs: |
57 | import re, stat | 64 | import re, stat |