4.104.114.95
Last change
on this file since a083b52 was
a083b52,
checked in by Chris Johns <chrisj@…>, on 07/29/14 at 06:35:43
|
Add checksum support for downloaded files.
File download by http, ftp, pw support checksum. The %hash
directive provides a means of setting a hash used to
checksum the file.
Files on disk or just downloaded are checked.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | # |
---|
2 | # GCC 4.9.x., Newlib CVS. |
---|
3 | # |
---|
4 | |
---|
5 | %ifn %{defined gcc_version} |
---|
6 | %error No GCC version defined. |
---|
7 | %endif |
---|
8 | |
---|
9 | %ifn %{defined newlib_version} |
---|
10 | %error No Newlib version defined. |
---|
11 | %endif |
---|
12 | |
---|
13 | %include %{_configdir}/checks.cfg |
---|
14 | %include %{_configdir}/base.cfg |
---|
15 | %include %{_configdir}/versions.cfg |
---|
16 | |
---|
17 | %define mpfr_version 3.0.1 |
---|
18 | %define mpc_version 0.8.2 |
---|
19 | %define gmp_version 5.0.5 |
---|
20 | |
---|
21 | %define with_threads 1 |
---|
22 | %define with_plugin 0 |
---|
23 | |
---|
24 | %ifn %{defined with_iconv} |
---|
25 | %define with_iconv 1 |
---|
26 | %endif |
---|
27 | |
---|
28 | # |
---|
29 | # Hash checksums of the libraries used in GCC. |
---|
30 | # |
---|
31 | %hash md5 mpfr-%{mpfr_version}.tar.bz2 bfbecb2eacb6d48432ead5cfc3f7390a |
---|
32 | %hash md5 mpc-%{mpc_version}.tar.gz e98267ebd5648a39f881d66797122fb6 |
---|
33 | %hash md5 gmp-%{gmp_version}.tar.bz2 041487d25e9c230b0c42b106361055fe |
---|
34 | |
---|
35 | # |
---|
36 | # Newlib is from CVS. No hash on CVS. |
---|
37 | # |
---|
38 | %source set newlib cvs://pserver:anoncvs@sourceware.org/cvs/src?module=newlib?src-prefix=src?date=%{newlib_version}?reset |
---|
39 | |
---|
40 | # |
---|
41 | # Joel's stack_t patch. |
---|
42 | # |
---|
43 | %patch add newlib -p0 %{rtems_newlib_patches}/newlib-sys-signal-20130532.diff |
---|
44 | %hash md5 newlib-sys-signal-20130532.diff 34af05f28a4921e47c053528f5a8b9fb |
---|
45 | |
---|
46 | # |
---|
47 | # The gcc/newlib build instructions. We use 4.9 Release 1. |
---|
48 | # |
---|
49 | %include %{_configdir}/gcc-4.9-1.cfg |
---|
Note: See
TracBrowser
for help on using the repository browser.