1
0
Files
linux/debian/patches/patchset-xanmod/xanmod/0001-kbuild-Re-add-.config-file-required-to-sign-external.patch
2025-03-27 01:51:30 +03:00

24 lines
792 B
Diff

From 878cd0d9982ee6810036adce9e9c96cdb3714be1 Mon Sep 17 00:00:00 2001
From: Alexandre Frade <kernel@xanmod.org>
Date: Thu, 28 Nov 2024 22:55:27 +0000
Subject: kbuild: Re-add .config file required to sign external
modules
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
---
scripts/package/install-extmod-build | 3 +++
1 file changed, 3 insertions(+)
--- a/scripts/package/install-extmod-build
+++ b/scripts/package/install-extmod-build
@@ -44,6 +44,9 @@ mkdir -p "${destdir}"
fi
} | tar -c -f - -T - | tar -xf - -C "${destdir}"
+# copy .config manually to be where it's expected to be
+cp "${KCONFIG_CONFIG}" "${destdir}/.config"
+
# When ${CC} and ${HOSTCC} differ, rebuild host programs using ${CC}.
#
# This caters to host programs that participate in Kbuild. objtool and