]> git.proxmox.com Git - ceph.git/blob - ceph/src/spdk/dpdk/mk/machine/armv7a/rte.vars.mk
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / spdk / dpdk / mk / machine / armv7a / rte.vars.mk
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright (C) 2015 RehiveTech. All rights reserved.
3
4 #
5 # machine:
6 #
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
19 #
20
21 # ARCH =
22 # CROSS =
23 # MACHINE_CFLAGS =
24 # MACHINE_LDFLAGS =
25 # MACHINE_ASFLAGS =
26 # CPU_CFLAGS =
27 # CPU_LDFLAGS =
28 # CPU_ASFLAGS =
29
30 MACHINE_CFLAGS += -march=armv7-a
31
32 ifdef CONFIG_RTE_ARCH_ARM_TUNE
33 MACHINE_CFLAGS += -mtune=$(CONFIG_RTE_ARCH_ARM_TUNE:"%"=%)
34 endif
35
36 MACHINE_CFLAGS += -mfpu=neon