Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/refpolicy: set python path
@ 2019-04-20 14:55 Fabrice Fontaine
  2019-04-21  9:47 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2019-04-20 14:55 UTC (permalink / raw)
  To: buildroot

Set python path to $(HOST_DIR)/usr/bin/python to avoid build failures if
python3 found on host is broken

Fixes:
 - http://autobuild.buildroot.org/results/1f878405593dd05bb00fe0b06ca1c64ffbe6c572

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/refpolicy/refpolicy.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/refpolicy/refpolicy.mk b/package/refpolicy/refpolicy.mk
index 78c17bad01..1c3b1bc541 100644
--- a/package/refpolicy/refpolicy.mk
+++ b/package/refpolicy/refpolicy.mk
@@ -26,6 +26,7 @@ endif
 
 # Cannot use multiple threads to build the reference policy
 REFPOLICY_MAKE = \
+	PYTHON=$(HOST_DIR)/usr/bin/python \
 	TEST_TOOLCHAIN=$(HOST_DIR) \
 	$(TARGET_MAKE_ENV) \
 	$(MAKE1)
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] package/refpolicy: set python path
  2019-04-20 14:55 [Buildroot] [PATCH 1/1] package/refpolicy: set python path Fabrice Fontaine
@ 2019-04-21  9:47 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2019-04-21  9:47 UTC (permalink / raw)
  To: buildroot

On Sat, 20 Apr 2019 16:55:33 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Set python path to $(HOST_DIR)/usr/bin/python to avoid build failures if
> python3 found on host is broken
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/1f878405593dd05bb00fe0b06ca1c64ffbe6c572
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/refpolicy/refpolicy.mk | 1 +
>  1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-21  9:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-20 14:55 [Buildroot] [PATCH 1/1] package/refpolicy: set python path Fabrice Fontaine
2019-04-21  9:47 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox