diff options
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 | ||||
-rw-r--r-- | meta/classes-recipe/kernelsrc.bbclass | 4 | ||||
-rw-r--r-- | meta/recipes-core/musl/libucontext_1.3.2.bb | 4 | ||||
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 4 |
4 files changed, 8 insertions, 6 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index e88ad24cf6..93707a250e 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -2174,6 +2174,8 @@ class CookerParser(object): | |||
2174 | for jobid in range(len(self.willparse)): | 2174 | for jobid in range(len(self.willparse)): |
2175 | self.toparse_queue.put(jobid) | 2175 | self.toparse_queue.put(jobid) |
2176 | 2176 | ||
2177 | # Have to pass in willparse at fork time so all parsing processes have the unpickleable data | ||
2178 | # then access it by index from the parse queue. | ||
2177 | for i in range(0, self.num_processes): | 2179 | for i in range(0, self.num_processes): |
2178 | parser = Parser(self.willparse, self.toparse_queue, self.result_queue, self.parser_quit, self.cooker.configuration.profile) | 2180 | parser = Parser(self.willparse, self.toparse_queue, self.result_queue, self.parser_quit, self.cooker.configuration.profile) |
2179 | parser.start() | 2181 | parser.start() |
diff --git a/meta/classes-recipe/kernelsrc.bbclass b/meta/classes-recipe/kernelsrc.bbclass index ecb02dc9ed..9336184298 100644 --- a/meta/classes-recipe/kernelsrc.bbclass +++ b/meta/classes-recipe/kernelsrc.bbclass | |||
@@ -15,3 +15,7 @@ LOCAL_VERSION = "${@get_kernellocalversion_file("${STAGING_KERNEL_BUILDDIR}")}" | |||
15 | 15 | ||
16 | inherit linux-kernel-base | 16 | inherit linux-kernel-base |
17 | 17 | ||
18 | # The final packages get the kernel version instead of the default 1.0 | ||
19 | python do_package:prepend() { | ||
20 | d.setVar('PKGV', d.getVar("KERNEL_VERSION").split("-")[0]) | ||
21 | } | ||
diff --git a/meta/recipes-core/musl/libucontext_1.3.2.bb b/meta/recipes-core/musl/libucontext_1.3.2.bb index 1d14a527a8..c5b802207b 100644 --- a/meta/recipes-core/musl/libucontext_1.3.2.bb +++ b/meta/recipes-core/musl/libucontext_1.3.2.bb | |||
@@ -50,7 +50,7 @@ EXTRA_OEMESON = "-Dcpu=${@map_kernel_arch(d.getVar('TARGET_ARCH'), d)}" | |||
50 | inherit meson | 50 | inherit meson |
51 | 51 | ||
52 | ARM_TARGET_CPPFLAGS = "" | 52 | ARM_TARGET_CPPFLAGS = "" |
53 | ARM_TARGET_CPPFLAGS:append:arm = "${@bb.utils.contains('TARGET_FPU', 'hard', '-DFORCE_HARD_FLOAT', '', d)}" | 53 | ARM_TARGET_CPPFLAGS:append:arm = "${@bb.utils.contains('TARGET_FPU', 'hard', ' -DFORCE_HARD_FLOAT', '', d)}" |
54 | ARM_TARGET_CPPFLAGS:append:arm = "${@bb.utils.contains('TARGET_FPU', 'soft', '-DFORCE_SOFT_FLOAT', '', d)}" | 54 | ARM_TARGET_CPPFLAGS:append:arm = "${@bb.utils.contains('TARGET_FPU', 'soft', ' -DFORCE_SOFT_FLOAT', '', d)}" |
55 | 55 | ||
56 | TARGET_CPPFLAGS .= "${ARM_TARGET_CPPFLAGS}" | 56 | TARGET_CPPFLAGS .= "${ARM_TARGET_CPPFLAGS}" |
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index 157aca4d79..4f29bd5bbc 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
@@ -385,10 +385,6 @@ do_configure:prepend () { | |||
385 | done | 385 | done |
386 | } | 386 | } |
387 | 387 | ||
388 | python do_package:prepend() { | ||
389 | d.setVar('PKGV', d.getVar("KERNEL_VERSION").split("-")[0]) | ||
390 | } | ||
391 | |||
392 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 388 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
393 | 389 | ||
394 | PACKAGES =+ "${PN}-archive ${PN}-tests ${PN}-perl ${PN}-python" | 390 | PACKAGES =+ "${PN}-archive ${PN}-tests ${PN}-perl ${PN}-python" |