[FL-1241] Build optimization (#459)

* Makefile: enable space optimization with debug, cleanup double includes, explicitly define cpp runtime options
* Toolchain: add printf support
* Toolchain: explicit standard declaration
This commit is contained in:
あく
2021-05-12 10:59:20 +03:00
committed by GitHub
parent aa24484b99
commit 3671c68b79
3 changed files with 10 additions and 9 deletions

View File

@@ -2,7 +2,6 @@ PROJECT_ROOT = $(abspath $(dir $(abspath $(firstword $(MAKEFILE_LIST))))..)
PROJECT = bootloader
include $(PROJECT_ROOT)/make/base.mk
include $(PROJECT_ROOT)/make/git.mk
CFLAGS += -Itargets/include
ASM_SOURCES += $(wildcard src/*.s)