diff options
Diffstat (limited to 'src/spdk/dpdk/mk/machine/emag/rte.vars.mk')
-rw-r--r-- | src/spdk/dpdk/mk/machine/emag/rte.vars.mk | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/spdk/dpdk/mk/machine/emag/rte.vars.mk b/src/spdk/dpdk/mk/machine/emag/rte.vars.mk new file mode 100644 index 000000000..50342dfa2 --- /dev/null +++ b/src/spdk/dpdk/mk/machine/emag/rte.vars.mk @@ -0,0 +1,32 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2019 Ampere Computing +# + +# +# machine: +# +# - can define ARCH variable (overridden by cmdline value) +# - can define CROSS variable (overridden by cmdline value) +# - define MACHINE_CFLAGS variable (overridden by cmdline value) +# - define MACHINE_LDFLAGS variable (overridden by cmdline value) +# - define MACHINE_ASFLAGS variable (overridden by cmdline value) +# - can define CPU_CFLAGS variable (overridden by cmdline value) that +# overrides the one defined in arch. +# - can define CPU_LDFLAGS variable (overridden by cmdline value) that +# overrides the one defined in arch. +# - can define CPU_ASFLAGS variable (overridden by cmdline value) that +# overrides the one defined in arch. +# - may override any previously defined variable +# + +# ARCH = +# CROSS = +# MACHINE_CFLAGS = +# MACHINE_LDFLAGS = +# MACHINE_ASFLAGS = +# CPU_CFLAGS = +# CPU_LDFLAGS = +# CPU_ASFLAGS = + +MACHINE_CFLAGS += -march=armv8-a+crc+crypto +MACHINE_CFLAGS += $(call rte_cc_has_argument, -mtune=emag) |