mirror of
https://abf.rosa.ru/djam/kernel-5.15.git
synced 2025-02-23 18:42:55 +00:00
Sync if conditions
It was "armx" in some places and "aarch64" in other places, use armx everywhere, armv7 devices also need dtds
This commit is contained in:
parent
68aef796d0
commit
c8db31ab20
1 changed files with 2 additions and 2 deletions
|
@ -1178,7 +1178,7 @@ echo "Building kernel %{kver_full}"
|
||||||
|
|
||||||
TARGETS="all"
|
TARGETS="all"
|
||||||
# need to install dtbs to proper boot arm64 devices
|
# need to install dtbs to proper boot arm64 devices
|
||||||
%ifarch aarch64
|
%ifarch %{armx}
|
||||||
TARGETS="$TARGETS dtbs"
|
TARGETS="$TARGETS dtbs"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
@ -1287,7 +1287,7 @@ install -m 644 .config %{temp_boot}/config-%{kver_full}
|
||||||
install -m 644 Module.symvers.zst %{temp_boot}/symvers-%{kver_full}.zst
|
install -m 644 Module.symvers.zst %{temp_boot}/symvers-%{kver_full}.zst
|
||||||
|
|
||||||
%ifarch %{armx}
|
%ifarch %{armx}
|
||||||
%make_build ARCH=arm64 V=1 INSTALL_DTBS_PATH=%{temp_boot}/dtb-%{kver_full} dtbs_install
|
%make_build ARCH=%{arch_type} V=1 INSTALL_DTBS_PATH=%{temp_boot}/dtb-%{kver_full} dtbs_install
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch aarch64
|
%ifarch aarch64
|
||||||
|
|
Loading…
Add table
Reference in a new issue