Skip to contentSkip to conversation

x86emul: fix test harness 32-bit "clean" target handling

PATCH In review Jan Beulich 3 participants 3 messages Nov 26, 2018

lore
Share & tools
lore
#0 lore raw

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

tools/tests/x86_emulator/Makefile +1 -1
@@ -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 $*

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Jan Beulich

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.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Acked-by on v1 1/1
#2 lore raw
In reply to Jan Beulich
Quoted 9 lines · Jan Beulich

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.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel