summaryrefslogtreecommitdiff
path: root/classes/package.bbclass
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2006-03-06 21:11:18 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-03-06 21:11:18 +0000
commitd9178f91517c97da8b249186e221c73a3bee1aa3 (patch)
treed5a74720c7ba5963266f6b0e912fdffd41f22afb /classes/package.bbclass
parentfc675fce9d9d45f17a26d32ef6f2760abddcc731 (diff)
glibc, package.bbclass: generate old-style binary locales at build time using qemu. based on a patch originally written by Phil Blundell. fixes hh.org Bug #1385 (localedef OOM issue).
- running localedef (in qemu...) for every locale takes a while. set BINARY_LOCALE_ARCHES = "" to avoid the new behaviour.
Diffstat (limited to 'classes/package.bbclass')
-rw-r--r--classes/package.bbclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index ab1cea37c0..d32cf53828 100644
--- a/classes/package.bbclass
+++ b/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)