mirror of
https://abf.rosa.ru/djam/kernel-5.15.git
synced 2025-02-24 02:52:55 +00:00
install dtb
This commit is contained in:
parent
5152536ddb
commit
1d19e1bd53
1 changed files with 7 additions and 0 deletions
|
@ -1349,6 +1349,10 @@ install -m 644 System.map %{temp_boot}/System.map-%{kver_full}
|
||||||
install -m 644 .config %{temp_boot}/config-%{kver_full}
|
install -m 644 .config %{temp_boot}/config-%{kver_full}
|
||||||
xz -c Module.symvers > %{temp_boot}/symvers-%{kver_full}.xz
|
xz -c Module.symvers > %{temp_boot}/symvers-%{kver_full}.xz
|
||||||
|
|
||||||
|
%ifarch %{armx}
|
||||||
|
%make_build ARCH=arm64 V=1 INSTALL_DTBS_PATH=%{temp_boot}/dtb-%{kver_full} dtbs_install
|
||||||
|
%endif
|
||||||
|
|
||||||
%ifarch aarch64
|
%ifarch aarch64
|
||||||
cp -f arch/arm64/boot/Image.gz %{temp_boot}/vmlinuz-%{kver_full}
|
cp -f arch/arm64/boot/Image.gz %{temp_boot}/vmlinuz-%{kver_full}
|
||||||
%else
|
%else
|
||||||
|
@ -1493,6 +1497,9 @@ cat > $kernel_files <<EOF
|
||||||
%{_bootdir}/symvers-%{kver_full}.xz
|
%{_bootdir}/symvers-%{kver_full}.xz
|
||||||
%{_bootdir}/config-%{kver_full}
|
%{_bootdir}/config-%{kver_full}
|
||||||
%{_bootdir}/vmlinuz-%{kver_full}
|
%{_bootdir}/vmlinuz-%{kver_full}
|
||||||
|
%ifarch %{armx}
|
||||||
|
%{_bootdir}/dtb-%{kver_full}
|
||||||
|
%endif
|
||||||
%{_modulesdir}/%{kver_full}/kernel
|
%{_modulesdir}/%{kver_full}/kernel
|
||||||
%if %{with binary_extra_modules}
|
%if %{with binary_extra_modules}
|
||||||
# 8821ce.ko.debug will not be excluded and will be in the main debug subpackage
|
# 8821ce.ko.debug will not be excluded and will be in the main debug subpackage
|
||||||
|
|
Loading…
Add table
Reference in a new issue