Files
xen/config/x86_32.mk
T
Jan Beulich 0c614af4a7 config/x86: tidy {Free,Open}BSD LDFLAGS_DIRECT handling
It's not clear why for x86-64 a different approach was used than the
(shorter) one x86-32 has been using. Move the setting to the respective
OS files and reuse x86-32's approach for x86-64, while at the same time
using an OS-independent variable name (thus avoiding the indirection
through $(XEN_OS)).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
2022-08-12 08:54:33 +02:00

14 lines
243 B
Makefile

CONFIG_X86 := y
CONFIG_X86_32 := y
CONFIG_X86_$(XEN_OS) := y
CONFIG_MIGRATE := y
CONFIG_XCUTILS := y
CFLAGS += -m32 -march=i686
# Use only if calling $(LD) directly.
LDFLAGS_DIRECT += -melf_i386$(XEN_ELF_SUB_FLAVOR)
IOEMU_CPU_ARCH ?= i386