Correct dtb copying
This commit is contained in:
parent
f1d3aa7cbb
commit
a962393de3
@ -1491,7 +1491,7 @@ BuildKernel() {
|
|||||||
|
|
||||||
%ifarch %{arm} aarch64
|
%ifarch %{arm} aarch64
|
||||||
%{make} -s ARCH=$Arch V=1 dtbs dtbs_install INSTALL_DTBS_PATH=$RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer
|
%{make} -s ARCH=$Arch V=1 dtbs dtbs_install INSTALL_DTBS_PATH=$RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer
|
||||||
cp $RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer
|
cp -r $RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer $RPM_BUILD_ROOT/lib/modules/$KernelVer/dtb
|
||||||
find arch/$Arch/boot/dts -name '*.dtb' -type f | xargs rm -f
|
find arch/$Arch/boot/dts -name '*.dtb' -type f | xargs rm -f
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user