mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
rtems4.11: Update DTC for Moxie to it's new home path.
Add a suitable hash for the build to proceed. Closes #2202.
This commit is contained in:
parent
63ab31b425
commit
e7cbf74fe2
@ -10,6 +10,8 @@
|
||||
|
||||
%define dtc_version 1.2.0
|
||||
|
||||
%hash md5 dtc-%{dtc_version}.tar.gz 8c5186a2dfa5d9ff62e0e6e828d2743a
|
||||
|
||||
#
|
||||
# The DTC build instructions. We use 1.x.x Release 1.
|
||||
#
|
||||
|
@ -18,7 +18,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
||||
#
|
||||
# Source
|
||||
#
|
||||
%source set dtc http://www.jdl.com/software/dtc-v%{dtc_version}.tgz
|
||||
%source set dtc https://www.kernel.org/pub/software/utils/dtc/dtc-%{dtc_version}.tar.gz
|
||||
|
||||
#
|
||||
# Prepare the source code.
|
||||
@ -26,7 +26,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
||||
%prep
|
||||
build_top=$(pwd)
|
||||
|
||||
%source setup dtc -q -n dtc-v%{dtc_version}
|
||||
%source setup dtc -q -n dtc-%{dtc_version}
|
||||
%patch setup dtc -p1
|
||||
|
||||
cd ${build_top}
|
||||
@ -34,7 +34,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
||||
%build
|
||||
build_top=$(pwd)
|
||||
|
||||
cd dtc-v%{dtc_version}
|
||||
cd dtc-%{dtc_version}
|
||||
|
||||
%{build_build_flags}
|
||||
|
||||
@ -47,7 +47,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
||||
|
||||
rm -rf $SB_BUILD_ROOT
|
||||
|
||||
cd dtc-v%{dtc_version}
|
||||
cd dtc-%{dtc_version}
|
||||
%{__make} DESTDIR=$SB_BUILD_ROOT PREFIX=%{_prefix} install
|
||||
|
||||
cd ${build_top}
|
||||
|
Loading…
x
Reference in New Issue
Block a user