base/mk: streamline spec includes for ARM

This patch sets the -march complile flag in spec/arm_v7a.mk, which
enables us to build depot archives for the 'arm_v7a' architecture.

It also removes copy-pasted comments that offer no valuable insights but
contain grammar errors.
This commit is contained in:
Norman Feske 2017-06-26 12:42:35 +02:00
parent 430c0f12e0
commit d2b21d294e
17 changed files with 8 additions and 163 deletions

View File

@ -1,18 +1,8 @@
#
# \brief Build-system configurations for ARMv6
# \author Martin Stein
# \date 2012-09-26
#
# denote wich specs are also fullfilled by this spec
SPECS += arm
# configure compiler
CC_MARCH += -march=armv6
# add repository relative include paths
REP_INC_DIR += include/spec/arm_v6
# include implied specs
include $(BASE_DIR)/mk/spec/arm.mk

View File

@ -1,15 +1,6 @@
#
# \brief Build-system configurations for ARMv7
# \author Martin Stein
# \date 2012-09-26
#
# denote wich specs are also fullfilled by this spec
SPECS += arm
# add repository relative include paths
REP_INC_DIR += include/spec/arm_v7
# include implied specs
include $(BASE_DIR)/mk/spec/arm.mk

View File

@ -1,15 +1,8 @@
#
# \brief Build-system configurations for ARMv7a
# \author Martin Stein
# \date 2012-09-26
#
# denote wich specs are also fullfilled by this spec
SPECS += arm_v7
# add repository relative include paths
REP_INC_DIR += include/spec/arm_v7a
# include implied specs
CC_MARCH += -march=armv7-a
include $(BASE_DIR)/mk/spec/arm_v7.mk

View File

@ -1,15 +1,6 @@
#
# \brief Build-system configurations for InSign Arndale 5
# \author Martin Stein
# \date 2013-01-09
#
# denote specs that are fullfilled by this spec
SPECS += exynos5
# add repository relative paths
REP_INC_DIR += include/spec/arndale
# include implied specs
include $(BASE_DIR)/mk/spec/exynos5.mk

View File

@ -1,26 +1,17 @@
#
# \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/spec/cortex_a15
include $(BASE_DIR)/mk/spec/arm_v7a.mk
# 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.
# Therefore, we override the 'CC_MARCH' of the included 'arm_v7a.mk'.
#
# Reference: https://github.com/genodelabs/genode/issues/810
#
CC_MARCH += -mcpu=cortex-a15
# include implied specs
include $(BASE_DIR)/mk/spec/arm_v7a.mk
CC_MARCH := -march=armv7ve -mcpu=cortex-a15

View File

@ -1,17 +1,7 @@
#
# \brief Build-system configurations specifically for the ARM Cortex A8
# \author Stefan Kalkowski
# \date 2012-10-15
#
# denote wich specs are also fullfilled by this spec
SPECS += arm_v7a
# add repository relative include paths
REP_INC_DIR += include/spec/cortex_a8
# configure compiler
CC_MARCH += -march=armv7-a -mcpu=cortex-a8
# include implied specs
include $(BASE_DIR)/mk/spec/arm_v7a.mk

View File

@ -1,18 +1,8 @@
#
# \brief Build-system configurations specifically for the ARM Cortex A9
# \author Martin Stein
# \date 2011-12-20
#
# denote wich specs are also fullfilled by this spec
SPECS += arm_v7a
# add repository relative include paths
REP_INC_DIR += include/spec/cortex_a9
# configure compiler
CC_MARCH += -march=armv7-a -mcpu=cortex-a9
CC_MARCH += -mcpu=cortex-a9
# include implied specs
include $(BASE_DIR)/mk/spec/arm_v7a.mk

View File

@ -1,14 +1,5 @@
#
# \brief Build-system configurations for Exynos5 SoCs
# \author Stefan Kalkowski
# \date 2015-09-04
#
# denote specs that are fullfilled by this spec
SPECS += cortex_a15 framebuffer usb
# add repository relative paths
REP_INC_DIR += include/spec/exynos5
# include implied specs
include $(BASE_DIR)/mk/spec/cortex_a15.mk

View File

@ -1,13 +1,7 @@
#
# \brief Enable VFPV3-FPU on ARM
# \author Sebastian Sumpf
# \date 2013-06-16
#
#
# Enable floating point support in compiler
#
CC_MARCH += -mfpu=vfpv3 -mfloat-abi=softfp
CC_MARCH += -mfpu=vfpv3 -mfloat-abi=softfp
#
# Include floating-point unit code

View File

@ -1,15 +1,6 @@
#
# \brief Build-system configurations specific to i.MX53
# \author Stefan Kalkowski
# \date 2012-10-15
#
# denote wich specs are also fullfilled by this spec
SPECS += cortex_a8 gpio framebuffer
# add repository relative include paths
REP_INC_DIR += include/spec/imx53
# include implied specs
include $(BASE_DIR)/mk/spec/cortex_a8.mk

View File

@ -1,14 +1,5 @@
#
# \brief Build-system configurations specific to i.MX53 Quickstart Board
# \author Stefan Kalkowski
# \date 2017-01-02
#
# denote wich specs are also fullfilled by this spec
SPECS += imx53
# add repository relative include paths
REP_INC_DIR += include/spec/imx53_qsb
# include implied specs
include $(BASE_DIR)/mk/spec/imx53.mk

View File

@ -1,17 +1,6 @@
#
# \brief Build-system configurations for Freescale i.MX6
# \author Nikolay Golikov <nik@ksyslabs.org>
# \author Josef Soentgen
# \author Martin Stein
# \date 2014-02-25
#
# denote wich specs are also fullfilled by this spec
SPECS += cortex_a9
# add repository relative include paths
REP_INC_DIR += include/spec/imx6
# include implied specs
include $(BASE_DIR)/mk/spec/cortex_a9.mk

View File

@ -1,17 +1,6 @@
#
# \brief Build-system configurations for Odrod-x2
# \author Alexy Gallardo Segura <alexy@uclv.cu>
# \author Humberto López León <humberto@uclv.cu>
# \author Reinier Millo Sánchez <rmillo@uclv.cu>
# \date 2015-07-08
#
# denote specs that are fullfilled by this spec
SPECS += exynos4 cortex_a9 usb framebuffer gpio
# add repository relative paths
REP_INC_DIR += include/spec/odroid_x2
REP_INC_DIR += include/spec/exynos4
# include implied specs
include $(BASE_DIR)/mk/spec/cortex_a9.mk

View File

@ -1,15 +1,6 @@
#
# \brief Build-system configurations for Odroid XU
# \author Stefan Kalkowski
# \date 2013-11-25
#
# denote specs that are fullfilled by this spec
SPECS += exynos5
# add repository relative paths
REP_INC_DIR += include/spec/odroid_xu
# include implied specs
include $(BASE_DIR)/mk/spec/exynos5.mk

View File

@ -1,14 +1,5 @@
#
# \brief Build-system configurations for Raspberry Pi
# \author Norman Feske
# \date 2013-04-05
#
# denote wich specs are also fullfilled by this spec
SPECS += arm_v6 usb framebuffer gpio
# add repository relative include paths
REP_INC_DIR += include/spec/rpi
# include implied specs
include $(BASE_DIR)/mk/spec/arm_v6.mk

View File

@ -1,14 +1,5 @@
#
# \brief Build-system configurations specific to the USB armory
# \author Stefan Kalkowski
# \date 2017-01-02
#
# denote wich specs are also fullfilled by this spec
SPECS += imx53
# add repository relative include paths
REP_INC_DIR += include/spec/usb_armory
# include implied specs
include $(BASE_DIR)/mk/spec/imx53.mk

View File

@ -1,14 +1,5 @@
#
# \brief Build-system configurations for Wandboard Quad
# \author Stefan Kalkowski
# \date 2017-01-02
#
# denote wich specs are also fullfilled by this spec
SPECS += imx6
# add repository relative include paths
REP_INC_DIR += include/spec/wand_quad
# include implied specs
include $(BASE_DIR)/mk/spec/imx6.mk