mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 15:56:41 +00:00
1e3c80ff5b
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
27 lines
704 B
Makefile
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)
|