defs-cpp.mk, defs.mk, platform.mk: More cleanup to defs-cpp.mk

- Group more consistently into overall default choices, template cascade and
  compiler flags
- Add definitions for st-nucleo-f103rb (for now)

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2019-03-20 15:06:25 +00:00
commit 419d3b2a08
3 changed files with 196 additions and 180 deletions

View file

@ -169,4 +169,5 @@ ifneq ($(TARGET_TRIPLET),$(HOST_TRIPLET))
endif
endif
TARGET_CPU ?= $(TARGET_ARCH)
endif # ifndef PLATFORM_MK_INCLUDED