mirror of
https://abf.rosa.ru/djam/kernel-6.6.git
synced 2025-02-25 11:52:46 +00:00
Do not try to build 64-bit kernels for 32-bit systems, for now
This commit is contained in:
parent
16b61b0a03
commit
95d0f2b220
1 changed files with 6 additions and 0 deletions
|
@ -583,6 +583,7 @@ patch -p1 --fuzz=0 < %{SOURCE701}
|
|||
|
||||
# Configs
|
||||
cp %{SOURCE110} .
|
||||
|
||||
%if %build_debug
|
||||
sed -i 's/# CONFIG_DEBUG_INFO is not set/CONFIG_DEBUG_INFO=y\nCONFIG_DEBUG_INFO_DWARF4=y\nCONFIG_GDB_SCRIPTS=y/' \
|
||||
./kernel-%{arch_suffix}.config
|
||||
|
@ -619,6 +620,11 @@ for flav in ${FLAVOURS}; do
|
|||
make ARCH=%{_arch} oldconfig && \
|
||||
mv .config arch/x86/configs/%{arch_suffix}_defconfig-${flav} && \
|
||||
echo "Created arch/x86/configs/%{arch_suffix}_defconfig-${flav}."
|
||||
|
||||
# Do not try to build 64-bit kernels for 32-bit systems, for now.
|
||||
%ifarch %{ix86}
|
||||
sed -i 's/CONFIG_64BIT=y/# CONFIG_64BIT is not set/' arch/x86/configs/%{arch_suffix}_defconfig-${flav}
|
||||
%endif
|
||||
done
|
||||
|
||||
# Remove the no longer needed parts of the config files
|
||||
|
|
Loading…
Add table
Reference in a new issue