mirror of
https://abf.rosa.ru/djam/kernel-5.10.git
synced 2025-02-24 17:22:50 +00:00
Fix building UML on 32 bit (copy hack from non-UML)
This commit is contained in:
parent
6b48b8dafb
commit
88e63d63e7
1 changed files with 7 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
|||
%define sublevel 25
|
||||
|
||||
# Release number. Increase this before a rebuild.
|
||||
%define rpmrel 5
|
||||
%define rpmrel 6
|
||||
%define fullrpmrel %{rpmrel}
|
||||
|
||||
%define rpmtag %{disttag}
|
||||
|
@ -1064,6 +1064,12 @@ cp .config .config.default
|
|||
cat %{build_dir}/.config.append >> .config
|
||||
%kmake oldconfig ARCH=um
|
||||
diff -u .config.default .config || :
|
||||
# Looks like 'make oldconfig' removes '# CONFIG_64BIT is not set' for some
|
||||
# reason. For now, let us restore it.
|
||||
%ifarch %{ix86}
|
||||
sed -i 's/CONFIG_64BIT=y//' .config
|
||||
echo '# CONFIG_64BIT is not set' >> .config
|
||||
%endif
|
||||
%kmake ARCH=um linux
|
||||
install -Dm0755 linux %{temp_root}%{_bindir}/linux-uml-%{kver_full}
|
||||
#rm -fv linux
|
||||
|
|
Loading…
Add table
Reference in a new issue