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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user