Commits
Mojca Miklavec authored 0cd98f9fbff
1 1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8::et:sw=4:ts=4:sts=4 |
2 2 | |
3 3 | PortSystem 1.0 |
4 4 | PortGroup crossgcc 1.0 |
5 5 | |
6 - | crossgcc.setup msp430-elf 7.3.0 |
6 + | crossgcc.setup msp430-elf 8.3.0 |
7 7 | crossgcc.setup_libc newlib 2.4.0 |
8 8 | |
9 - | set vers_patch 7.3.2.154 |
9 + | set vers_patch 8.3.0.16 |
10 10 | set name_patch msp430-gcc-${vers_patch}-source-patches |
11 11 | set file_patch ${name_patch}.tar.bz2 |
12 12 | |
13 13 | maintainers {g5pw @g5pw} |
14 14 | |
15 15 | homepage http://www.ti.com/tool/msp430-gcc-opensource |
16 16 | master_sites-append http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/latest/exports/:patch |
17 17 | |
18 18 | distfiles-append ${file_patch}:patch |
19 19 | checksums-append ${file_patch} \ |
20 - | rmd160 d6b1825ef792a4ca61e34a4bee35aca66d8c8d9e \ |
21 - | sha256 a9ae65464771549c7ffd0909a04fe0f783be7d04e5abe23ef191f536b2a3b8b4 \ |
22 - | size 427757 |
20 + | rmd160 fa0c6ddd1d9e7a44ad470671c5c5be9a61a0051a \ |
21 + | sha256 2732abaf76e1da9e224b25d442c2f764c487087603ae1d954d6e980e48f37af7 \ |
22 + | size 143805 |
23 23 | |
24 24 | depends_run port:msp430-gcc-support-files |
25 25 | |
26 26 | depends_extract-append \ |
27 27 | port:bzip2 |
28 28 | |
29 29 | post-extract { |
30 30 | system -W ${workpath} "${prefix}/bin/bzip2 -dc ${distpath}/${file_patch} | /usr/bin/tar xf -" |
31 31 | } |
32 32 | pre-patch { |
33 - | system -W ${worksrcpath} "/usr/bin/patch -p0 < ${workpath}/${name_patch}/gcc-7_3_0-release.patch" |
33 + | system -W ${worksrcpath} "/usr/bin/patch -p0 < ${workpath}/${name_patch}/gcc-8_3_0-release.patch" |
34 34 | system -W ${workpath}/newlib-2.4.0 "/usr/bin/patch -p0 < ${workpath}/${name_patch}/newlib-2_4_0.patch" |
35 35 | } |
36 36 | |
37 37 | configure.args-append \ |
38 38 | --enable-target-optspace \ |
39 39 | --enable-newlib-nano-formatted-io |