Skip to content

Commit

Permalink
the cross compiler for tiny and lisa now works what we believe is 'pr…
Browse files Browse the repository at this point in the history
…operly'
  • Loading branch information
rbdavison committed Feb 2, 2011
1 parent 487ddf9 commit f0b0337
Show file tree
Hide file tree
Showing 13 changed files with 267 additions and 106 deletions.
Expand Up @@ -76,7 +76,7 @@ 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 \
Expand Down

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions darwin/macports/ports/cross/libcmsis/Portfile
Expand Up @@ -12,8 +12,7 @@ long_description libcmsis
fetch.type git
git.url git://git.open-bldc.org/libcmsis.git
patchfiles \
patch-include-cmsis-stm32-h.diff \
patch-src-Makefile.diff
patch-include-cmsis-stm32-h.diff
worksrcdir ${name}
use_configure no
use_parallel_build no
Expand Down
Expand Up @@ -5,7 +5,7 @@
AR=${compiler_prefix}ar
AS=${compiler_prefix}as
-CFLAGS=-I../include -Wall -ansi -std=c99 -fno-common -Os -g -mcpu=cortex-m3 -mthumb -ffunction-sections -fdata-sections
+CFLAGS=-I../include -Wall -ansi -std=c99 -fno-common -g -mcpu=cortex-m3 -mthumb -ffunction-sections -fdata-sections
+CFLAGS=-I../include -Wall -ansi -std=c99 -fno-common -Os -g -mcpu=cortex-m3 -mthumb -ffunction-sections -fdata-sections
ARFLAGS=rcsv
ASFLAGS=-ahls -mapcs-32

6 changes: 0 additions & 6 deletions darwin/macports/ports/cross/libopenstm32/Portfile
Expand Up @@ -11,12 +11,6 @@ description libopenstm32
long_description libopenstm32
fetch.type git
git.url git://libopenstm32.git.sourceforge.net/gitroot/libopenstm32/libopenstm32
patchfiles \
patch-Makefile.diff \
patch-examples-lpc13xx-Makefile-include.diff \
patch-examples-stm32-Makefile-include.diff \
patch-lib-lpc13cc-Makefile.diff \
patch-lib-stm32-Makefile.diff

#worksrcdir ${name}
use_configure no
Expand Down
11 changes: 0 additions & 11 deletions darwin/macports/ports/cross/libopenstm32/files/patch-Makefile.diff

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Expand Up @@ -5,7 +5,7 @@
AR=${compiler_prefix}ar
AS=${compiler_prefix}as
-CFLAGS=-I../include -fno-common -Os -g -mcpu=cortex-m3 -mthumb -ffunction-sections -fdata-sections
+CFLAGS=-I../include -Wall -fno-common -g -mcpu=cortex-m3 -mthumb -ffunction-sections -fdata-sections -D'assert_param(_cond)={}'
+CFLAGS=-I../include -fno-common -Os -g -mcpu=cortex-m3 -mthumb -ffunction-sections -fdata-sections -D'assert_param(_cond)={}' -Wall
ARFLAGS=rcsv
ASFLAGS=-ahls -mapcs-32

2 changes: 0 additions & 2 deletions darwin/macports/ports/cross/libstm32usb/Portfile
Expand Up @@ -11,8 +11,6 @@ description libstm32
long_description libstm32
fetch.type git
git.url git://git.open-bldc.org/libstm32usb.git
patchfiles \
patch-src-Makefile.diff

worksrcdir ${name}
use_configure no
Expand Down
Expand Up @@ -5,7 +5,7 @@
AR=${compiler_prefix}ar
AS=${compiler_prefix}as
-CFLAGS=-I../include -fno-common -Os -g -mcpu=cortex-m3 -mthumb -ffunction-sections -fdata-sections
+CFLAGS=-I../include -fno-common -g -mcpu=cortex-m3 -mthumb -ffunction-sections -fdata-sections
+CFLAGS=-I../include -fno-common -Os -g -mcpu=cortex-m3 -mthumb -ffunction-sections -fdata-sections
ARFLAGS=rcsv
ASFLAGS=-ahls -mapcs-32

0 comments on commit f0b0337

Please sign in to comment.