[Xen-devel] [PATCH] tools/include: propagate python interpreter path

Roger Pau Monne posted 1 patch 4 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/xen tags/patchew/20190424092037.72003-1-roger.pau@citrix.com
tools/include/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[Xen-devel] [PATCH] tools/include: propagate python interpreter path
Posted by Roger Pau Monne 4 years, 11 months ago
To the Makefile that generates the cpuid policy. Without this fix if
the tools python interpreter is different than the default 'python' it
won't be correctly propagated.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
---
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
---
 tools/include/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/include/Makefile b/tools/include/Makefile
index d693810053..71538e1ce2 100644
--- a/tools/include/Makefile
+++ b/tools/include/Makefile
@@ -32,7 +32,7 @@ endif
 	touch $@
 
 all-$(CONFIG_X86): xen/.dir
-	$(MAKE) -C xen/lib/x86 all XEN_ROOT=$(XEN_ROOT)
+	$(MAKE) -C xen/lib/x86 all XEN_ROOT=$(XEN_ROOT) PYTHON=$(PYTHON)
 
 # Not xen/xsm as that clashes with link to
 # $(XEN_ROOT)/xen/include/public/xsm above.
-- 
2.17.2 (Apple Git-113)


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [PATCH] tools/include: propagate python interpreter path
Posted by Wei Liu 4 years, 11 months ago
On Wed, Apr 24, 2019 at 11:20:37AM +0200, Roger Pau Monne wrote:
> To the Makefile that generates the cpuid policy. Without this fix if
> the tools python interpreter is different than the default 'python' it
> won't be correctly propagated.
> 
> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>

Acked-by: Wei Liu <wei.liu2@citrix.com>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel