[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 2 of 5] tools/config: Allow building of components to be controlled from .config
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@xxxxxxxxxx> diff -r 7012e0d68f3b -r 2d5cac99caf7 config/x86_32.mk --- a/config/x86_32.mk +++ b/config/x86_32.mk @@ -5,7 +5,7 @@ CONFIG_X86_$(XEN_OS) := y CONFIG_HVM := y CONFIG_MIGRATE := y CONFIG_XCUTILS := y -CONFIG_IOEMU := y +CONFIG_IOEMU ?= y CFLAGS += -m32 -march=i686 diff -r 7012e0d68f3b -r 2d5cac99caf7 config/x86_64.mk --- a/config/x86_64.mk +++ b/config/x86_64.mk @@ -6,7 +6,7 @@ CONFIG_COMPAT := y CONFIG_HVM := y CONFIG_MIGRATE := y CONFIG_XCUTILS := y -CONFIG_IOEMU := y +CONFIG_IOEMU ?= y CFLAGS += -m64 diff -r 7012e0d68f3b -r 2d5cac99caf7 tools/Rules.mk --- a/tools/Rules.mk +++ b/tools/Rules.mk @@ -40,9 +40,9 @@ LDLIBS_libxenvchan = $(SHLIB_libxenctrl) SHLIB_libxenvchan = -Wl,-rpath-link=$(XEN_LIBVCHAN) ifeq ($(CONFIG_Linux),y) -LIBXL_BLKTAP = y +LIBXL_BLKTAP ?= y else -LIBXL_BLKTAP = n +LIBXL_BLKTAP ?= n endif ifeq ($(LIBXL_BLKTAP),y) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |