mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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>
14 lines
243 B
Makefile
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
|