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