1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright (C) 2015 RehiveTech. All rights reserved.
7 # - can define ARCH variable (overridden by cmdline value)
8 # - can define CROSS variable (overridden by cmdline value)
9 # - define MACHINE_CFLAGS variable (overridden by cmdline value)
10 # - define MACHINE_LDFLAGS variable (overridden by cmdline value)
11 # - define MACHINE_ASFLAGS variable (overridden by cmdline value)
12 # - can define CPU_CFLAGS variable (overridden by cmdline value) that
13 # overrides the one defined in arch.
14 # - can define CPU_LDFLAGS variable (overridden by cmdline value) that
15 # overrides the one defined in arch.
16 # - can define CPU_ASFLAGS variable (overridden by cmdline value) that
17 # overrides the one defined in arch.
18 # - may override any previously defined variable
30 MACHINE_CFLAGS += -march=armv7-a
32 ifdef CONFIG_RTE_ARCH_ARM_TUNE
33 MACHINE_CFLAGS += -mtune=$(CONFIG_RTE_ARCH_ARM_TUNE:"%"=%)
36 MACHINE_CFLAGS += -mfpu=neon