[oe] [PATCH 1/2] java-library: inherit python native

Kraag Gorim kraaggorim at gmail.com
Fri Jan 24 15:42:30 UTC 2020


Several components make use of python in their build process. To not
rely on python being part of the HOSTTOOLS python should be inherited.

Signed-off-by: Kraag Gorim <kraaggorim at gmail.com>
---
 classes/java-library.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/classes/java-library.bbclass b/classes/java-library.bbclass
index e0159ba..adc4cb8 100644
--- a/classes/java-library.bbclass
+++ b/classes/java-library.bbclass
@@ -17,6 +17,7 @@ PACKAGE_ARCH ?= "all"
 # Fully expanded - so it applies the overrides as well
 PACKAGE_ARCH_EXPANDED := "${PACKAGE_ARCH}"
 inherit ${@oe.utils.ifelse(d.getVar('PACKAGE_ARCH_EXPANDED') == 'all',
'allarch', '')}
+inherit pythonnative

 # use java_stage for native packages
 JAVA_NATIVE_STAGE_INSTALL = "1"
-- 
2.24.0


More information about the Openembedded-devel mailing list