mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
For build systems which build certain Xen components separately, allow certain components to be conditionally built based on .config, rather than always building them. This patch allows qemu and blktap to be configured in this manner. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
16 lines
321 B
Makefile
16 lines
321 B
Makefile
CONFIG_X86 := y
|
|
CONFIG_X86_32 := y
|
|
CONFIG_X86_$(XEN_OS) := y
|
|
|
|
CONFIG_HVM := y
|
|
CONFIG_MIGRATE := y
|
|
CONFIG_XCUTILS := y
|
|
CONFIG_IOEMU ?= y
|
|
|
|
CFLAGS += -m32 -march=i686
|
|
|
|
# Use only if calling $(LD) directly.
|
|
LDFLAGS_DIRECT_OpenBSD = _obsd
|
|
LDFLAGS_DIRECT_FreeBSD = _fbsd
|
|
LDFLAGS_DIRECT += -melf_i386$(LDFLAGS_DIRECT_$(XEN_OS))
|