[OE-core] [PATCH v2] ghostscript: Define COMPATIBLE_HOST with supported platforms

Nathan Rossi nathan at nathanrossi.com
Thu Nov 8 08:43:12 UTC 2018


Setup the COMPATIBLE_HOST variable with all supported hosts based on the
provided objarch.h files. This inverts the existing pattern where
unsupported hosts (e.g. 'arc.*') are explicitly set.

This suppresses the warning message generated on hosts that are not
supported but were not listed explicitly.

  WARNING: .../ghostscript_9.25.bb: Unable to get checksum for
  ghostscript SRC_URI entry objarch.h: file could not be found

Signed-off-by: Nathan Rossi <nathan at nathanrossi.com>
---
Changes in v2:
  - Fix up to use HOST_SYS patterns instead of OVERRIDES
  - Make i586/i686 pattern common as done in other recipes
---
 meta/recipes-extended/ghostscript/ghostscript_9.25.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.25.bb b/meta/recipes-extended/ghostscript/ghostscript_9.25.bb
index 35eaaeb2fa..93134dfb9d 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_9.25.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_9.25.bb
@@ -121,5 +121,4 @@ do_install_class-native () {
 
 BBCLASSEXTEND = "native"
 
-# ghostscript does not supports "arc"
-COMPATIBLE_HOST = "^(?!arc).*"
+COMPATIBLE_HOST = "(aarch64|arm|i.86|microblaze|mips|nios2|powerpc|x86_64).*"
---
2.19.1



More information about the Openembedded-core mailing list