diff mbox series

[K/linux,K/linux-unstable] UBUNTU: [Config] Enable EXPOLINE_EXTERN on s390x

Message ID 20220909105534.59319-1-dimitri.ledkov@canonical.com
State New
Headers show
Series [K/linux,K/linux-unstable] UBUNTU: [Config] Enable EXPOLINE_EXTERN on s390x | expand

Commit Message

Dimitri John Ledkov Sept. 9, 2022, 10:55 a.m. UTC
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>
---
 debian.master/config/annotations          | 2 +-
 debian.master/config/config.common.ubuntu | 2 +-
 debian/rules.d/2-binary-arch.mk           | 4 ++++
 3 files changed, 6 insertions(+), 2 deletions(-)

Comments

Paolo Pisati Sept. 13, 2022, 12:58 p.m. UTC | #1
On Fri, Sep 09, 2022 at 11:55:34AM +0100, Dimitri John Ledkov wrote:
> BugLink: https://bugs.launchpad.net/bugs/1639924
> 
> Enable EXPOLINE_EXTERN and package expoline.o into arch-specific
> headers.
diff mbox series

Patch

diff --git a/debian.master/config/annotations b/debian.master/config/annotations
index 32dd8339f3..551ccba02d 100644
--- a/debian.master/config/annotations
+++ b/debian.master/config/annotations
@@ -13540,7 +13540,7 @@  CONFIG_PPC_SECVAR_SYSFS                         mark<ENFORCED> note<LP: #1866909
 # Menu: Processor type and features >> Architecture: s390
 CONFIG_KERNEL_NOBP                              policy<{'s390x': 'n'}>
 CONFIG_EXPOLINE                                 policy<{'s390x': 'y'}>
-CONFIG_EXPOLINE_EXTERN                          policy<{'s390x': 'n'}>
+CONFIG_EXPOLINE_EXTERN                          policy<{'s390x': 'y'}>
 CONFIG_SCHED_TOPOLOGY                           policy<{'s390x': 'y'}>
 
 # Menu: Processor type and features >> Architecture: x86
diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
index bd57f3648c..d6cdc96a87 100644
--- a/debian.master/config/config.common.ubuntu
+++ b/debian.master/config/config.common.ubuntu
@@ -3644,7 +3644,7 @@  CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8"
 CONFIG_EXPERT=y
 CONFIG_EXPOLINE=y
 CONFIG_EXPOLINE_AUTO=y
-# CONFIG_EXPOLINE_EXTERN is not set
+CONFIG_EXPOLINE_EXTERN=y
 # CONFIG_EXPOLINE_FULL is not set
 # CONFIG_EXPOLINE_OFF is not set
 CONFIG_EXPORTFS=y
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index 88280d329f..eb3acba7d7 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -332,6 +332,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