aboutsummaryrefslogtreecommitdiff
path: root/platform.txt
diff options
context:
space:
mode:
authorSandeep Mistry <s.mistry@arduino.cc>2016-04-04 13:26:05 -0400
committerSandeep Mistry <s.mistry@arduino.cc>2016-04-04 13:26:05 -0400
commitb0f4ca1b02897715ace932b3adfd1790e6b3bfbc (patch)
tree50ca5ce7274a8d5a6297100ba5a075ff39eeea18 /platform.txt
parent2fa23a24864333c0f44af381e1c3380a4ee60047 (diff)
parent33c9558641d15d63d8f7857810f70e05d4e43d5d (diff)
Merge pull request #4737 from per1234/recipe_ar_pattern-backwards-compatibility
AVR recipe.ar.pattern backwards compatibility
Diffstat (limited to 'platform.txt')
-rw-r--r--platform.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform.txt b/platform.txt
index 0e8bc54..137e937 100644
--- a/platform.txt
+++ b/platform.txt
@@ -60,6 +60,7 @@ recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} -m
recipe.S.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.S.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.S.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{object_file}"
## Create archives
+archive_file_path={build.path}/{archive_file}
recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}"
## Combine gc-sections, archives, and objects