Ryan Harper
2006-Aug-16 21:30 UTC
[Xen-devel] [PATCH] tools/Makefile: allow skipping ioemu build
Currently, even if one passes CONFIG_IOEMU=n , or modifies config/x86_XX.mk to set CONFIG_IOEMU := n, it still builds. The following patch returns the ability to disable the building of ioemu. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh@us.ibm.com diffstat output: Makefile | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Ryan Harper <ryanh@us.ibm.com> --- # HG changeset patch # User Ryan Harper <ryanh@us.ibm.com> # Date 1155763449 18000 # Node ID 1d462c0a096c1f74a3861d5c03ad24384b7a1397 # Parent ec03b24a2d83273ec62db8596506b80577a0e41e Fix tools/Makefile to test the value of CONFIG_IOEMU rather than whether it is defined. This restores the ability to disable the building of IOEMU. diff -r ec03b24a2d83 -r 1d462c0a096c tools/Makefile --- a/tools/Makefile Tue Aug 15 19:53:55 2006 +0100 +++ b/tools/Makefile Wed Aug 16 16:24:09 2006 -0500 @@ -59,7 +59,7 @@ check_clean: $(MAKE) -C check clean .PHONY: ioemu ioemuinstall ioemuclean -ifdef CONFIG_IOEMU +ifeq ($(CONFIG_IOEMU),y) export IOEMU_DIR ?= ioemu ioemu ioemuinstall: [ -f $(IOEMU_DIR)/config-host.mak ] || \ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel