[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen staging] x86emul: fix test harness 32-bit "clean" target handling



commit d1e70f9b19287aa8763f7778d8e8b2dbee990db3
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Mon Nov 26 15:44:48 2018 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Nov 26 15:44:48 2018 +0100

    x86emul: fix test harness 32-bit "clean" target handling
    
    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@xxxxxxxxxx>
    Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
    Tested-by: Paul Durrant <Paul.Durrant@xxxxxxxxxx>
    Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
    Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 tools/tests/x86_emulator/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/tests/x86_emulator/Makefile 
b/tools/tests/x86_emulator/Makefile
index e816e00dfd..d30639c800 100644
--- a/tools/tests/x86_emulator/Makefile
+++ b/tools/tests/x86_emulator/Makefile
@@ -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 $*
--
generated by git-patchbot for /home/xen/git/xen.git#staging

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.