genode/repos/base/mk/spec-cortex_a15.mk
Stefan Kalkowski 1e3c80ff5b arm: enable cpu cortex_a15 compiler flag
To enable the usage of virtualization extension related instructions
there is the need to enable the '-mcpu=cortex_a15' compiler flag on
those cpus. To not conflict with other compiler flags (Ref #810) we've
to disable the '-march=arm_v7a' flag.

Ref #1405
2015-02-27 11:48:04 +01:00

27 lines
704 B
Makefile

#
# \brief Build-system configurations for ARM Cortex A15
# \author Martin Stein
# \date 2013-01-09
#
# denote wich specs are also fullfilled by this spec
SPECS += arm_v7a
# add repository relative include paths
REP_INC_DIR += include/cortex_a15
# configure compiler
#
# GCC versions up to 4.7.3 complain about conflicting command-line switches:
#
# warning: switch -mcpu=cortex-a15 conflicts with -march=armv7-a switch [enabled by default]
#
# Therefore, do not specify the actual CPU and the architecture together.
#
# Reference: https://github.com/genodelabs/genode/issues/810
#
CC_MARCH += -mcpu=cortex-a15
# include implied specs
include $(call select_from_repositories,mk/spec-arm_v7a.mk)