summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKraag Gorim <kraaggorim@gmail.com>2020-01-24 16:22:14 (GMT)
committerRichard Leitner <richard.leitner@skidata.com>2020-01-27 09:00:26 (GMT)
commitac5a9dc7113d06cc2900b5c71a4beb342f950d66 (patch)
treeb378a3877adb3b2300edd2d3a265cbd716dd0198
parent90c1f4955249381c56b0e8a7bac73a8fe82e67a7 (diff)
downloadmeta-java-ac5a9dc7113d06cc2900b5c71a4beb342f950d66.tar.gz
java-library: inherit python native
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@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
-rw-r--r--classes/java-library.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/java-library.bbclass b/classes/java-library.bbclass
index d801930..2ce96ab 100644
--- a/classes/java-library.bbclass
+++ b/classes/java-library.bbclass
@@ -17,6 +17,7 @@ PACKAGE_ARCH ?= "all"
17# Fully expanded - so it applies the overrides as well 17# Fully expanded - so it applies the overrides as well
18PACKAGE_ARCH_EXPANDED := "${PACKAGE_ARCH}" 18PACKAGE_ARCH_EXPANDED := "${PACKAGE_ARCH}"
19inherit ${@oe.utils.ifelse(d.getVar('PACKAGE_ARCH_EXPANDED') == 'all', 'allarch', '')} 19inherit ${@oe.utils.ifelse(d.getVar('PACKAGE_ARCH_EXPANDED') == 'all', 'allarch', '')}
20inherit python3native
20 21
21# use java_stage for native packages 22# use java_stage for native packages
22JAVA_NATIVE_STAGE_INSTALL = "1" 23JAVA_NATIVE_STAGE_INSTALL = "1"