diff mbox series

tools/include: propagate python interpreter path

Message ID 20190424092037.72003-1-roger.pau@citrix.com (mailing list archive)
State New, archived
Headers show
Series tools/include: propagate python interpreter path | expand

Commit Message

Roger Pau Monné April 24, 2019, 9:20 a.m. UTC
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(-)

Comments

Wei Liu April 24, 2019, 11:03 a.m. UTC | #1
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>
diff mbox series

Patch

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.