summaryrefslogtreecommitdiffstats
path: root/classes/java-library.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/java-library.bbclass')
-rw-r--r--classes/java-library.bbclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/classes/java-library.bbclass b/classes/java-library.bbclass
index ce1cd28..e0159ba 100644
--- a/classes/java-library.bbclass
+++ b/classes/java-library.bbclass
@@ -10,9 +10,13 @@
10# 10#
11# package archs are set to all, if the recipe builds also packages which 11# package archs are set to all, if the recipe builds also packages which
12# can not be used for all archs, then set the PACKAGE_ARCH of that package 12# can not be used for all archs, then set the PACKAGE_ARCH of that package
13# manually, see rxtx_xx.bb for an example. 13# manually *before* inheriting the class, see rxtx_xx.bb for an example.
14 14
15inherit java allarch 15inherit java
16PACKAGE_ARCH ?= "all"
17# Fully expanded - so it applies the overrides as well
18PACKAGE_ARCH_EXPANDED := "${PACKAGE_ARCH}"
19inherit ${@oe.utils.ifelse(d.getVar('PACKAGE_ARCH_EXPANDED') == 'all', 'allarch', '')}
16 20
17# use java_stage for native packages 21# use java_stage for native packages
18JAVA_NATIVE_STAGE_INSTALL = "1" 22JAVA_NATIVE_STAGE_INSTALL = "1"