[rtems-source-builder commit] rtems4.11: Update DTC for Moxie to it' s new home path.

Chris Johns chrisj at rtems.org
Fri Dec 12 00:23:12 UTC 2014


Module:    rtems-source-builder
Branch:    master
Commit:    e7cbf74fe2c94f0a233b8a7efcac3e75c239333c
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=e7cbf74fe2c94f0a233b8a7efcac3e75c239333c

Author:    Chris Johns <chrisj at rtems.org>
Date:      Fri Dec 12 11:21:29 2014 +1100

rtems4.11: Update DTC for Moxie to it's new home path.

Add a suitable hash for the build to proceed.

Closes #2202.

---

 bare/config/devel/dtc-1.2.0.cfg   | 2 ++
 source-builder/config/dtc-1-1.cfg | 8 ++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/bare/config/devel/dtc-1.2.0.cfg b/bare/config/devel/dtc-1.2.0.cfg
index ddc5ed9..3a9d2e9 100644
--- a/bare/config/devel/dtc-1.2.0.cfg
+++ b/bare/config/devel/dtc-1.2.0.cfg
@@ -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.
 #
diff --git a/source-builder/config/dtc-1-1.cfg b/source-builder/config/dtc-1-1.cfg
index 937c628..c9cb816 100644
--- a/source-builder/config/dtc-1-1.cfg
+++ b/source-builder/config/dtc-1-1.cfg
@@ -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}




More information about the vc mailing list