```
DEBUG: + make ARCH=i586 oldconfig
DEBUG: Makefile:583: arch/i586/Makefile: No such file or directory
DEBUG: make: *** No rule to make target 'arch/i586/Makefile'.  Stop.
DEBUG: + sed -i s/CONFIG_64BIT=y// arch/x86/configs/i586_defconfig-generic
DEBUG: sed: can't read arch/x86/configs/i586_defconfig-generic: No such file or directory
```
This commit is contained in:
Mikhail Novosyolov 2020-11-27 15:39:54 +03:00
parent c972a6e092
commit e74e88e151

View file

@ -191,9 +191,9 @@
# http://nickdesaulniers.github.io/blog/2018/06/02/speeding-up-linux-kernel-builds-with-ccache/
%if %{with ccache}
%define kmake KBUILD_BUILD_TIMESTAMP='' %make CC='ccache gcc' ARCH="%{arch_suffix}"
%define kmake KBUILD_BUILD_TIMESTAMP='' %make CC='ccache gcc' ARCH="%{arch_type}"
%else
%define kmake %make CC='gcc' ARCH="%{arch_suffix}"
%define kmake %make CC='gcc' ARCH="%{arch_type}"
%endif
# there are places where parallel make don't work
@ -1148,7 +1148,7 @@ CONFIG_DIR=arch/%{arch_type}/configs
mkdir -p "${CONFIG_DIR}"
cfg_file=arch/%{arch_type}/configs/%{arch_suffix}_defconfig-%{flavour}
make ARCH=%{arch_suffix} oldconfig && \
make ARCH=%{arch_type} oldconfig && \
mv .config ${cfg_file}
# Looks like 'make oldconfig' removes '# CONFIG_64BIT is not set' for some