From 7479efa37dfb05263e0984ca1e1a3da22fa62414 Mon Sep 17 00:00:00 2001 From: Alexandre Frade Date: Thu, 28 Nov 2024 22:55:27 +0000 Subject: [PATCH 03/19] kbuild: Re-add .config file required to sign external modules Signed-off-by: Alexandre Frade --- 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