Skip to contentSkip to conversation

tools/Makefile: allow skipping ioemu build

PATCH New Ryan Harper 1 participant 1 message Aug 16, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Signature · 33 lines
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
[email protected]


diffstat output:
 Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Signed-off-by: Ryan Harper <[email protected]>
---
# HG changeset patch
# User Ryan Harper <[email protected]>
# 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 ] || \