base: remove cortex* compiler flags (fix #2787)

This commit is contained in:
Stefan Kalkowski
2018-04-30 14:57:40 +02:00
committed by Christian Helmuth
parent ad1b958b81
commit 68015a6e9d
18 changed files with 37 additions and 60 deletions

View File

@@ -9,4 +9,10 @@ SRC_S += bootstrap/spec/arm/crt0.s
NR_OF_CPUS = 2
#
# we need more specific compiler hints for some 'special' assembly code
# override -march=armv7-a because it conflicts with -mcpu=cortex-a15
#
CC_MARCH = -mcpu=cortex-a15
include $(REP_DIR)/lib/mk/bootstrap-hw.inc

View File

@@ -21,5 +21,11 @@ SRC_S += spec/arm_v7/virtualization/exception_vector.s
NR_OF_CPUS = 2
#
# we need more specific compiler hints for some 'special' assembly code
# override -march=armv7-a because it conflicts with -mcpu=cortex-a15
#
CC_MARCH = -mcpu=cortex-a15
# include less specific configuration
include $(REP_DIR)/lib/mk/spec/exynos5/core-hw.inc

View File

@@ -9,4 +9,6 @@ SRC_CC += hw/spec/arm/arm_v7_cpu.cc
SRC_CC += hw/spec/32bit/memory_map.cc
SRC_S += bootstrap/spec/arm/crt0.s
CC_MARCH = -mcpu=cortex-a9
include $(BASE_DIR)/../base-hw/lib/mk/bootstrap-hw.inc

View File

@@ -13,5 +13,7 @@ SRC_CC += platform_services.cc
NR_OF_CPUS += 2
CC_MARCH = -mcpu=cortex-a9
# include less specific configuration
include $(REP_DIR)/lib/mk/spec/cortex_a9/core-hw.inc