1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2014 Intel Corporation
7 # - define ARCH variable (overridden by cmdline or by previous
8 # optional define in machine .mk)
9 # - define CROSS variable (overridden by cmdline or previous define
11 # - define CPU_CFLAGS variable (overridden by cmdline or previous
12 # define in machine .mk)
13 # - define CPU_LDFLAGS variable (overridden by cmdline or previous
14 # define in machine .mk)
15 # - define CPU_ASFLAGS variable (overridden by cmdline or previous
16 # define in machine .mk)
17 # - may override any previously defined variable
19 # examples for CONFIG_RTE_ARCH: i686, x86_64, x86_64_32
23 # common arch dir in eal headers
29 CPU_ASFLAGS ?= -felf64
31 export ARCH CROSS CPU_CFLAGS CPU_LDFLAGS CPU_ASFLAGS
33 RTE_OBJCOPY_TARGET = elf64-x86-64
34 RTE_OBJCOPY_ARCH = i386:x86-64
36 export RTE_OBJCOPY_TARGET RTE_OBJCOPY_ARCH