diff options
author | bnewbold <bnewbold@robocracy.org> | 2010-08-25 22:57:46 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2010-08-25 22:57:46 -0400 |
commit | 12c351d0561d1f9d4e017bbd3f847906f93b0df7 (patch) | |
tree | 8a1275bdee83faf5365f2982dcbf2a3c4a27f1d2 /Makefile | |
parent | 0a6a19cf7625c0badb3bae30ad23605b39883357 (diff) | |
download | librambutan-12c351d0561d1f9d4e017bbd3f847906f93b0df7.tar.gz librambutan-12c351d0561d1f9d4e017bbd3f847906f93b0df7.zip |
inital portability work
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -10,8 +10,9 @@ LIBMAPLE_PATH := libmaple # Useful variables GLOBAL_CFLAGS := -Os -g -mcpu=cortex-m3 -mthumb -march=armv7-m -nostdlib \ - -ffunction-sections -fdata-sections -Wl,--gc-sections -GLOBAL_CXXFLAGS := -fno-rtti -fno-exceptions -Wall + -ffunction-sections -fdata-sections -Wl,--gc-sections \ + -DBOARD_$(BOARD) +GLOBAL_CXXFLAGS := -fno-rtti -fno-exceptions -Wall -DBOARD_$(BOARD) LDDIR := support/ld |