Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lamestllama committed Feb 3, 2011
2 parents f350361 + fc0f118 commit db5a959
Show file tree
Hide file tree
Showing 19 changed files with 431 additions and 87 deletions.
6 changes: 5 additions & 1 deletion darwin/macports/ports/PortIndex
Expand Up @@ -4,6 +4,8 @@ arm-none-eabi-gcc-linaro 527
portdir cross/arm-none-eabi-gcc-linaro description {gcc cross-compilers for arm-none-eabi, with newlib runtime library.} homepage http://gcc.gnu.org/ epoch 0 platforms darwin name arm-none-eabi-gcc-linaro depends_lib {port:gmp port:mpfr port:mpc port:libmpc port:gettext port:libiconv port:arm-none-eabi-binutils} license unknown maintainers nomaintainer long_description {gnu compilers collection (including c and c++) for arm-none-eabi, with newlib runtime library.} categories {cross devel} version 4.5-2011.01-1 revision 0
arm-none-eabi-gdb 494
variants universal portdir cross/arm-none-eabi-gdb description {GDB for the arm-none-eabi processors} homepage http://www.gnu.org/software/gdb/gdb.html epoch 0 platforms darwin name arm-none-eabi-gdb depends_lib port:arm-none-eabi-gcc-linaro long_description {arm-none-eabi-gdb is a version of the GNU Debugger that through the avarice program can be used to debug code for the arm-none-eabi processors.} maintainers nomaintainer license unknown categories {cross devel} version 7.2 revision 0
cortex-m3-gcc 577
portdir cross/cortex-m3-gcc description {gcc cross-compilers for arm-none-eabi with only the cortex-m3 cpu enabled, with newlib runtime library.} homepage http://gcc.gnu.org/ epoch 0 platforms darwin name cortex-m3-gcc depends_lib {port:gmp port:mpfr port:mpc port:libmpc port:gettext port:libiconv port:arm-none-eabi-binutils} license unknown maintainers nomaintainer long_description {gnu compilers collection (including c and c++) for arm-none-eabi with only the cortex-m3 cpu enabled, with newlib runtime library.} categories {cross devel} version 4.5-2011.01-1 revision 0
libcmsis 288
portdir cross/libcmsis description libcmsis depends_fetch bin:git:git-core epoch 0 platforms darwin name libcmsis depends_lib port:arm-none-eabi-gcc-linaro license unknown maintainers nomaintainer long_description libcmsis categories {cross devel} version master-2011.01.20.01 revision 0
libopenstm32 304
Expand All @@ -23,4 +25,6 @@ variants universal portdir devel/jsbsim description {JSBsim flight dynamics & co
paparazzi 364
portdir devel/paparazzi depends_fetch bin:git:git-core description {Paparazzi source code} homepage http://paparazzi.enac.fr/Wiki epoch 0 platforms darwin name paparazzi depends_lib port:paparazzi-tools license unknown maintainers nomaintainer long_description {The requirements for building and developing with Paparazzi.} categories devel version 0.1 revision 0
paparazzi-tools 726
portdir devel/paparazzi-tools description {Paparazzi Developer Tools} homepage http://paparazzi.enac.fr/Wiki epoch 0 platforms darwin name paparazzi-tools depends_lib {port:git-core port:xml-light port:caml-ocamlnet port:libftdi port:lablgtk2 port:gtk-theme-switch port:gnome-themes port:gmp port:mpfr port:libmpc port:ivy-c port:ivy-ocaml port:arm-none-eabi-binutils port:arm-none-eabi-gcc-linaro port:arm-none-eabi-gdb port:openocd port:libcmsis port:libstm32 port:libstm32usb port:libopenstm32 port:wget} license unknown maintainers nomaintainer long_description {Paparazzi Developer Tools is the suite of applications and tools required for building and developing with Paparazzi.} categories devel version 0.1 revision 0
portdir devel/paparazzi-tools description {Paparazzi Developer Tools} homepage http://paparazzi.enac.fr/Wiki epoch 0 platforms darwin name paparazzi-tools depends_lib {port:git-core port:xml-light port:caml-ocamlnet port:libftdi port:lablgtk2 port:gtk-theme-switch port:gnome-themes port:gmp port:mpfr port:libmpc port:wget port:ivy-c port:ivy-ocaml port:arm-none-eabi-binutils port:arm-none-eabi-gcc-linaro port:arm-none-eabi-gdb port:openocd port:libcmsis port:libstm32 port:libstm32usb port:libopenstm32} license unknown maintainers nomaintainer long_description {Paparazzi Developer Tools is the suite of applications and tools required for building and developing with Paparazzi.} categories devel version 0.1 revision 0
ivy-python 388
variants universal portdir python/ivy-python depends_fetch bin:svn:subversion description {Ivy bus python library} homepage http://www.tls.cena.fr/products/ivy/ epoch 0 platforms darwin depends_lib port:python27 name ivy-python long_description {Ivy is the software bus that will creep over your network!} maintainers nomaintainer license unknown version 0.2 categories python revision 0
22 changes: 12 additions & 10 deletions darwin/macports/ports/PortIndex.quick
@@ -1,13 +1,15 @@
arm-none-eabi-binutils 0
arm-none-eabi-gcc-linaro 322
arm-none-eabi-gdb 878
libcmsis 1394
libopenstm32 1695
libstm32 2016
libstm32usb 2317
openocd 2627
ivy-c 3143
ivy-ocaml 3502
jsbsim 3898
paparazzi 4304
paparazzi-tools 4682
cortex-m3-gcc 1394
libcmsis 1989
libopenstm32 2290
libstm32 2611
libstm32usb 2912
openocd 3222
ivy-c 3738
ivy-ocaml 4097
jsbsim 4493
paparazzi 4899
paparazzi-tools 5277
ivy-python 6023
7 changes: 5 additions & 2 deletions darwin/macports/ports/cross/arm-none-eabi-binutils/Portfile
Expand Up @@ -31,10 +31,13 @@ configure.ldflags
configure.args --target=${targetarch} \
--enable-interwork \
--enable-multilib \
--disable-nls \
--disable-shared \
--disable-threads \
--with-gcc \
--with-gnu-as \
--with-gnu-ld \
--disable-nls \
--disable-werror
--disable-werror
post-destroot {
file rename ${destroot}${prefix}/share/info/configure.info \
${destroot}${prefix}/share/info/configure-mp-${version}-${name}.info
Expand Down
20 changes: 17 additions & 3 deletions darwin/macports/ports/cross/arm-none-eabi-gcc-linaro/Portfile
Expand Up @@ -47,6 +47,10 @@ post-extract {
system "ln -s ${workpath}/newlib-${newlibversion}/newlib ${workpath}/gcc-linaro-${version}/"
}

patch.dir ${workpath}/gcc-linaro-${version}
patchfiles \
patch-gcc-config-arm-t-arm-elf.diff

# Since we don't build gcc and binutils at the same time, gcc's Makefile will try to transform
# program names as gcc's name (add -${version} with ${version} being the version of gcc).
# But it won't work because binutils binaries don't have the ${version} suffix, and even if they
Expand All @@ -72,23 +76,33 @@ configure.cc gcc
configure.cxx g++
configure.cppflags
configure.ldflags
#configure.cc-append -I${prefix}/include
configure.cc-append -I${prefix}/include
configure.args --target=${targetarch} \
--program-prefix=${targetarch}- \
--enable-interwork \
--enable-multilib \
--enable-languages=c,c++ \
--with-newlib \
--disable-shared \
--disable-threads \
--disable-nls \
--with-gcc \
--with-gnu-as \
--with-gnu-ld \
--disable-nls \
--with-dwarf2 \
--with-headers=${workpath}/newlib-${newlibversion}/newlib/libc/include \
--disable-libssp \
--disable-libstdcxx-pch \
--disable-libmudflap \
--disable-libgomp \
--disable-werror \
--with-system-zlib \
--with-gmp=${prefix} \
--with-mpfr=${prefix} \
--with-mpc=${prefix} \
--with-libiconv-prefix=${prefix}
--with-libiconv-prefix=${prefix} \
-v \
--disable-newlib-supplied-syscalls
configure.cc_archflags
configure.cxx_archflags
configure.objc_archflags
Expand Down

0 comments on commit db5a959

Please sign in to comment.