arm: armv7m: Clean up some thumb / compiler flag options

- The correct way to build with thumb mode is to select SYS_THUMB_BUILD
- We should be setting -march=armv7-m in arch/arm/Makefile not the
  sub-config.mk file.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2018-05-07 20:46:52 -04:00
parent dca268a8f9
commit ea37f0b312
3 changed files with 3 additions and 1 deletions

View File

@@ -3,4 +3,4 @@
# (C) Copyright 2015
# Kamil Lulko, <kamil.lulko@gmail.com>
PLATFORM_CPPFLAGS += -march=armv7-m -mthumb -mno-unaligned-access
PLATFORM_CPPFLAGS += -mno-unaligned-access