Refactor CORELIBS per platform

This commit is contained in:
Valeriy Koval
2015-03-09 12:22:24 +02:00
parent 13455987ae
commit 5fa0a176a7
14 changed files with 50 additions and 51 deletions
+3 -3
View File
@@ -48,6 +48,8 @@ env.Replace(
"-Wl,-gc-sections,-u,main"
],
LIBS=["m"],
SIZEPRINTCMD='"$SIZETOOL" -B -d $SOURCES',
UPLOADER=join("$PIOPACKAGES_DIR", "tool-mspdebug", "mspdebug"),
@@ -74,13 +76,11 @@ env.Append(
)
)
CORELIBS = env.ProcessGeneral()
#
# Target: Build executable and linkable firmware
#
target_elf = env.BuildFirmware(["m"] + CORELIBS)
target_elf = env.BuildFirmware()
#
# Target: Build the .hex