summaryrefslogtreecommitdiff
path: root/openembedded/classes/package.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-03-23 22:31:13 +0000
committerRichard Purdie <richard@openedhand.com>2006-03-23 22:31:13 +0000
commitbb28692880e3a66abec03de4f9951eca1078a919 (patch)
tree85562c6a8dde6cbc59564d4d134e6c4d58275d1b /openembedded/classes/package.bbclass
parentb3f42b759915ee078b192c43b37a86a219d15ebf (diff)
downloadopenembedded-core-bb28692880e3a66abec03de4f9951eca1078a919.tar.gz
openembedded-core-bb28692880e3a66abec03de4f9951eca1078a919.tar.bz2
openembedded-core-bb28692880e3a66abec03de4f9951eca1078a919.tar.xz
openembedded-core-bb28692880e3a66abec03de4f9951eca1078a919.zip
Sync class files with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@328 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/classes/package.bbclass')
-rw-r--r--openembedded/classes/package.bbclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/openembedded/classes/package.bbclass b/openembedded/classes/package.bbclass
index 71795e8bb..fbeabb64b 100644
--- a/openembedded/classes/package.bbclass
+++ b/openembedded/classes/package.bbclass
@@ -68,7 +68,7 @@ python package_mapping_rename_hook () {
}
-def do_split_packages(d, root, file_regex, output_pattern, description, postinst=None, recursive=False, hook=None, extra_depends=None, aux_files_pattern=None, postrm=None, allow_dirs=False, prepend=False, match_path=False):
+def do_split_packages(d, root, file_regex, output_pattern, description, postinst=None, recursive=False, hook=None, extra_depends=None, aux_files_pattern=None, postrm=None, allow_dirs=False, prepend=False, match_path=False, aux_files_pattern_verbatim=None):
import os, os.path, bb
dvar = bb.data.getVar('D', d, 1)
@@ -125,6 +125,12 @@ def do_split_packages(d, root, file_regex, output_pattern, description, postinst
the_files.append(fp % on)
else:
the_files.append(aux_files_pattern % on)
+ if aux_files_pattern_verbatim:
+ if type(aux_files_pattern_verbatim) is list:
+ for fp in aux_files_pattern_verbatim:
+ the_files.append(fp % m.group(1))
+ else:
+ the_files.append(aux_files_pattern_verbatim % m.group(1))
bb.data.setVar('FILES_' + pkg, " ".join(the_files), d)
if extra_depends != '':
the_depends = bb.data.getVar('RDEPENDS_' + pkg, d, 1)