summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-21 21:47:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-23 09:31:41 +0100
commit9412254f232b4826d3c6f6666bfe140ea105fbea (patch)
tree5f45287e8836fa655bdafbd9cdfc1dda889204e3 /meta
parentbe1b198076cd8849ab6ecc16ad08556c5981f3d9 (diff)
downloadpoky-9412254f232b4826d3c6f6666bfe140ea105fbea.tar.gz
package.bbclass: Fixup for using common function
We may as well use the common function for this rather than duplicating the code. (From OE-Core rev: 20979854c52607212c16e0b01cf610c80d8b524e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package.bbclass15
1 files changed, 2 insertions, 13 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 6a552d904e..5d8123f2f9 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -928,13 +928,7 @@ python split_and_strip_files () {
928 for f in kernmods: 928 for f in kernmods:
929 sfiles.append((f, 16, strip)) 929 sfiles.append((f, 16, strip))
930 930
931 931 oe.utils.multiprocess_exec(sfiles, oe.package.runstrip)
932 import multiprocessing
933 nproc = multiprocessing.cpu_count()
934 pool = bb.utils.multiprocessingpool(nproc)
935 processed = list(pool.imap(oe.package.runstrip, sfiles))
936 pool.close()
937 pool.join()
938 932
939 # 933 #
940 # End of strip 934 # End of strip
@@ -1311,12 +1305,7 @@ python package_do_filedeps() {
1311 for files in chunks(pkgfiles[pkg], 100): 1305 for files in chunks(pkgfiles[pkg], 100):
1312 pkglist.append((pkg, files, rpmdeps, pkgdest)) 1306 pkglist.append((pkg, files, rpmdeps, pkgdest))
1313 1307
1314 import multiprocessing 1308 processed = oe.utils.multiprocess_exec( pkglist, oe.package.filedeprunner)
1315 nproc = multiprocessing.cpu_count()
1316 pool = bb.utils.multiprocessingpool(nproc)
1317 processed = list(pool.imap(oe.package.filedeprunner, pkglist))
1318 pool.close()
1319 pool.join()
1320 1309
1321 provides_files = {} 1310 provides_files = {}
1322 requires_files = {} 1311 requires_files = {}