Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UBUNTU: [Packaging] Copy expoline.o only when produced by the build
BugLink: https://bugs.launchpad.net/bugs/2013209 CONFIG_EXPOLINE_EXTERN has been enabled for s390x [LP:#2013209]. While this works as expected on the base kernels, it might not work on some derivatives: for example focal:hwe-5.15 (derived from Jammy). On Focal, this config can't be enabled due to the GCC version it comes with. CONFIG_EXPOLINE_EXTERN requires >= 110200 while Focal comes with 90400. This change adds a check on the existence of the expoline object file(s) that are packaged later. This also makes the code more robust generally. Signed-off-by: Andrei Gherzan <andrei.gherzan@canonical.com> Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
- Loading branch information