diff options
author | Mario Domenech Goulart <mario@ossystems.com.br> | 2015-08-18 17:14:30 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-08-18 18:54:17 -0300 |
commit | 24b98ac3a6ca7fadfba24709aac8d0b71316e299 (patch) | |
tree | c5658da851a712e48e14483b9c6ae5cb719f7f40 /recipes-core/jamvm | |
parent | 15ed9662e26ed4ac8d843fb9d2335a49a9c03088 (diff) | |
download | meta-java-24b98ac3a6ca7fadfba24709aac8d0b71316e299.tar.gz |
Avoid parse time errors due to dependency on x11, for distros without x11
BitBake raises some errors when processing recipes that depend on x11
for distros that don't have x11 in DISTRO_FEATURES. To work around
that issue, REQUIRED_DISTRO_FEATURES = "x11" (from
distro_features_check.bbclass) has been set for the following recipes:
* cacao
* classpath
* jamvm
* openjdk-6-release
* openjdk-7-release
That makes BitBake skip those recipes during the cache generation
(they'd still be parsed, but ignored).
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-core/jamvm')
-rw-r--r-- | recipes-core/jamvm/jamvm.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-core/jamvm/jamvm.inc b/recipes-core/jamvm/jamvm.inc index bed1c5d..9d9fef6 100644 --- a/recipes-core/jamvm/jamvm.inc +++ b/recipes-core/jamvm/jamvm.inc | |||
@@ -21,7 +21,9 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/jamvm/jamvm-${PV}.tar.gz \ | |||
21 | " | 21 | " |
22 | 22 | ||
23 | 23 | ||
24 | inherit java autotools update-alternatives pkgconfig | 24 | inherit java autotools update-alternatives pkgconfig distro_features_check |
25 | |||
26 | REQUIRED_DISTRO_FEATURES = "x11" | ||
25 | 27 | ||
26 | # This uses 32 bit arm, so force the instruction set to arm, not thumb | 28 | # This uses 32 bit arm, so force the instruction set to arm, not thumb |
27 | ARM_INSTRUCTION_SET = "arm" | 29 | ARM_INSTRUCTION_SET = "arm" |