]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
x86emul: fix test harness 32-bit "clean" target handling
authorJan Beulich <jbeulich@suse.com>
Mon, 26 Nov 2018 14:44:48 +0000 (15:44 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 26 Nov 2018 14:44:48 +0000 (15:44 +0100)
When preparing what is now 52c37f7ab9 ("x86emul: also allow running the
32-bit harness on a 64-bit distro") I first wrongly used XEN_TARGET_ARCH
instead of XEN_COMPILE_ARCH. When realizing the mistake I forgot to also
switch around the use in the expression controlling the rule
dependencies, causing "make distclean" to fail on 64-bit distros.

Reported-by: Paul Durrant <Paul.Durrant@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Paul Durrant <Paul.Durrant@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/tests/x86_emulator/Makefile

index e816e00dfd4b92734502212039eb6279e5ccdf5e..d30639c8008ed74312ceb04394d12502be49832c 100644 (file)
@@ -185,7 +185,7 @@ distclean: clean
 install uninstall:
 
 .PHONY: run32 clean32
-ifeq ($(XEN_TARGET_ARCH),x86_64)
+ifeq ($(XEN_COMPILE_ARCH),x86_64)
 run32: $(addsuffix .h,$(TESTCASES)) $(addsuffix -opmask.h,$(OPMASK))
 run32 clean32: %32:
        $(MAKE) -C 32 $*