UBUNTU: [Config] Enable EXPOLINE_EXTERN on s390x

BugLink: https://bugs.launchpad.net/bugs/1639924

Enable EXPOLINE_EXTERN and package expoline.o into arch-specific
headers.

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
This commit is contained in:
Dimitri John Ledkov
2022-09-09 11:55:34 +01:00
committed by Paolo Pisati
parent 4852fbed9b
commit f0ba482060
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -3901,7 +3901,7 @@ CONFIG_EXFAT_FS policy<{'amd64': 'm', 'arm64': '
CONFIG_EXPERT policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y', 's390x': 'y'}>
CONFIG_EXPOLINE policy<{'s390x': 'y'}>
CONFIG_EXPOLINE_AUTO policy<{'s390x': 'y'}>
CONFIG_EXPOLINE_EXTERN policy<{'s390x': 'n'}>
CONFIG_EXPOLINE_EXTERN policy<{'s390x': 'y'}>
CONFIG_EXPOLINE_FULL policy<{'s390x': 'n'}>
CONFIG_EXPOLINE_OFF policy<{'s390x': 'n'}>
CONFIG_EXPORTFS policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y', 's390x': 'y'}>
+4
View File
@@ -343,6 +343,10 @@ endif
ifeq ($(build_arch),powerpc)
mkdir -p $(hdrdir)/arch/powerpc/lib
cp $(builddir)/build-$*/arch/powerpc/lib/*.o $(hdrdir)/arch/powerpc/lib
endif
ifeq ($(build_arch),s390)
mkdir -p $(hdrdir)/arch/s390/lib/expoline/
cp $(builddir)/build-$*/arch/s390/lib/expoline/*.o $(hdrdir)/arch/s390/lib/expoline/
endif
# Copy over scripts/module.lds for building external modules
cp $(builddir)/build-$*/scripts/module.lds $(hdrdir)/scripts