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

Khem Raj raj.khem at gmail.com
Thu Nov 8 13:29:19 UTC 2018


On Thu, Nov 8, 2018 at 12:43 AM Nathan Rossi <nathan at nathanrossi.com> wrote:
>
> 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).*"

this ignores riscv now. since you wsnt to
ignore for just one arch you can use

COMPATIBLE_HOST_arc = "(none)"

or somesuch mechanism.

> ---
> 2.19.1
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list