1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018 Marvell International Ltd
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
31 include $(RTE_SDK)/mk/rte.helper.mk
33 MACHINE_CFLAGS += $(call rte_cc_has_argument, -march=armv8.2-a+crc+crypto+lse)
34 MACHINE_CFLAGS += $(call rte_cc_has_argument, -mcpu=octeontx2)