From 24b98ac3a6ca7fadfba24709aac8d0b71316e299 Mon Sep 17 00:00:00 2001 From: Mario Domenech Goulart Date: Tue, 18 Aug 2015 17:14:30 -0300 Subject: 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 Signed-off-by: Otavio Salvador --- recipes-core/classpath/classpath.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'recipes-core/classpath') diff --git a/recipes-core/classpath/classpath.inc b/recipes-core/classpath/classpath.inc index 1bdfd78..0f760fe 100644 --- a/recipes-core/classpath/classpath.inc +++ b/recipes-core/classpath/classpath.inc @@ -7,7 +7,9 @@ LICENSE = "Classpath" PBN = "classpath" -inherit autotools java gettext +inherit autotools java gettext distro_features_check + +REQUIRED_DISTRO_FEATURES = "x11" DEPENDS = "virtual/javac-native fastjar-native zip-native gmp antlr-native gtk+ gconf libxtst file" -- cgit v1.2.3-54-g00ecf