make specifying BL31 and ROCKCHIP_TPL better-er
This commit is contained in:
parent
8620d2f20a
commit
2eae960b29
@ -6,6 +6,10 @@
|
|||||||
|
|
||||||
%global non_standard_release master
|
%global non_standard_release master
|
||||||
|
|
||||||
|
%global rkbin_dir %{_builddir}/rkbin-%{rkbin_git_commit}
|
||||||
|
%global BL31 %{rkbin_dir}/bin/rk35/rk3588_bl31_v1.40.elf
|
||||||
|
%global ROCKCHIP_TPL %{rkbin_dir}/bin/rk35/rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.12.bin
|
||||||
|
|
||||||
Source1: package.inc
|
Source1: package.inc
|
||||||
Source3: https://github.com/rockchip-linux/rkbin/archive/%{rkbin_git_commit}.tar.gz
|
Source3: https://github.com/rockchip-linux/rkbin/archive/%{rkbin_git_commit}.tar.gz
|
||||||
%include %{SOURCE1}
|
%include %{SOURCE1}
|
||||||
|
@ -6,6 +6,10 @@
|
|||||||
|
|
||||||
%global non_standard_release master
|
%global non_standard_release master
|
||||||
|
|
||||||
|
%global rkbin_dir %{_builddir}/rkbin-%{rkbin_git_commit}
|
||||||
|
%global BL31 %{rkbin_dir}/bin/rk35/rk3588_bl31_v1.40.elf
|
||||||
|
%global ROCKCHIP_TPL %{rkbin_dir}/bin/rk35/rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.12.bin
|
||||||
|
|
||||||
Source1: package.inc
|
Source1: package.inc
|
||||||
Source3: https://github.com/rockchip-linux/rkbin/archive/%{rkbin_git_commit}.tar.gz
|
Source3: https://github.com/rockchip-linux/rkbin/archive/%{rkbin_git_commit}.tar.gz
|
||||||
%include %{SOURCE1}
|
%include %{SOURCE1}
|
||||||
|
@ -39,11 +39,14 @@ This package contains images for the %{board_name}.
|
|||||||
pushd ..
|
pushd ..
|
||||||
cp %{_sourcedir}/%{?rkbin_git_commit}.tar.gz .
|
cp %{_sourcedir}/%{?rkbin_git_commit}.tar.gz .
|
||||||
tar xf %{?rkbin_git_commit}.tar.gz
|
tar xf %{?rkbin_git_commit}.tar.gz
|
||||||
export RKBIN_DIRECTORY="%{_builddir}/rkbin-%{?rkbin_git_commit}"
|
|
||||||
export BL31="${RKBIN_DIRECTORY}/bin/rk35/rk3588_bl31_v1.40.elf"
|
|
||||||
export ROCKCHIP_TPL="${RKBIN_DIRECTORY}/bin/rk35/rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.12.bin"
|
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
export BL31='%{BL31}'
|
||||||
|
%if "%{?ROCKCHIP_TPL}" != ""
|
||||||
|
export ROCKCHIP_TPL='%{ROCKCHIP_TPL}'
|
||||||
|
%endif
|
||||||
|
|
||||||
%{make}
|
%{make}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
@ -6,6 +6,10 @@
|
|||||||
|
|
||||||
%global non_standard_release rc
|
%global non_standard_release rc
|
||||||
|
|
||||||
|
%global rkbin_dir %{_builddir}/rkbin-%{rkbin_git_commit}
|
||||||
|
%global BL31 %{rkbin_dir}/bin/rk35/rk3588_bl31_v1.40.elf
|
||||||
|
%global ROCKCHIP_TPL %{rkbin_dir}/bin/rk35/rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.12.bin
|
||||||
|
|
||||||
Source1: package.inc
|
Source1: package.inc
|
||||||
Source3: https://github.com/rockchip-linux/rkbin/archive/%{rkbin_git_commit}.tar.gz
|
Source3: https://github.com/rockchip-linux/rkbin/archive/%{rkbin_git_commit}.tar.gz
|
||||||
%include %{SOURCE1}
|
%include %{SOURCE1}
|
||||||
|
Loading…
Reference in New Issue
Block a user