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:
Chris Johns
2014-12-12 11:21:29 +11:00
parent 63ab31b425
commit e7cbf74fe2
2 changed files with 6 additions and 4 deletions

View File

@@ -10,6 +10,8 @@
%define dtc_version 1.2.0 %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. # The DTC build instructions. We use 1.x.x Release 1.
# #

View File

@@ -18,7 +18,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
# #
# Source # 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. # Prepare the source code.
@@ -26,7 +26,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
%prep %prep
build_top=$(pwd) build_top=$(pwd)
%source setup dtc -q -n dtc-v%{dtc_version} %source setup dtc -q -n dtc-%{dtc_version}
%patch setup dtc -p1 %patch setup dtc -p1
cd ${build_top} cd ${build_top}
@@ -34,7 +34,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
%build %build
build_top=$(pwd) build_top=$(pwd)
cd dtc-v%{dtc_version} cd dtc-%{dtc_version}
%{build_build_flags} %{build_build_flags}
@@ -47,7 +47,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
rm -rf $SB_BUILD_ROOT rm -rf $SB_BUILD_ROOT
cd dtc-v%{dtc_version} cd dtc-%{dtc_version}
%{__make} DESTDIR=$SB_BUILD_ROOT PREFIX=%{_prefix} install %{__make} DESTDIR=$SB_BUILD_ROOT PREFIX=%{_prefix} install
cd ${build_top} cd ${build_top}