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:
Mikhail Novosyolov 2021-05-22 11:56:21 +03:00
parent 68aef796d0
commit c8db31ab20

View file

@ -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