All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
To: Khem Raj <raj.khem@gmail.com>,
	Takashi Matsuzawa <tmatsuzawa@xevo.com>,
	"yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: "(-)"??
Date: Thu, 21 Sep 2017 06:41:22 +0000	[thread overview]
Message-ID: <eda389cc3fd34e08bd7f37c17fae4fcf@XBOX02.axis.com> (raw)
In-Reply-To: <386119ba-a8ca-ccc6-0dde-26c01edc1c35@gmail.com>

> -----Original Message-----
> From: yocto-bounces@yoctoproject.org [mailto:yocto-
> bounces@yoctoproject.org] On Behalf Of Khem Raj
> Sent: den 21 september 2017 07:15
> To: Takashi Matsuzawa <tmatsuzawa@xevo.com>; yocto@yoctoproject.org
> Subject: Re: [yocto] "(-)"??
> 
> On 9/20/17 8:18 PM, Takashi Matsuzawa wrote:
> > Hello.
> > I am seeing some of the recipes contains lines like below.
> >
> >> COMPATIBLE_MACHINE = "(-)"
> >
> > Sorry being novice, but what is the intended effect of this line?
> > I can see submit comments that this is for blacklisting but I am not
> > sure how it works.  It simply means a '-' letter?
> 
> COMAPTIBLE_MACHINE uses regexp syntax

Which actually makes that a pretty weird COMPATIBLE_MACHINE, 
especially if it is intended for blacklisting. Given that it would 
match any machine with a dash in it, it would match, e.g., qemux86-64
but not qemux86. It would also happen to match about half of our 
machines which happen to have dashes in their names.

A more appropriate way to blacklist machines using COMPATIBLE_MACHINE 
would be something like:

COMPATIBLE_MACHINE = "null"

or:

COMPATIBLE_MACHINE = "nothing"

I found two occurrences of "(-)" being used as COMPATIBLE_MACHINE in 
meta-openembedded for Morty and Pyro, but they have been removed for 
Rocko. If you see them anywhere else, consider changing them.

//Peter



  reply	other threads:[~2017-09-21  6:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-21  3:18 "(-)"?? Takashi Matsuzawa
2017-09-21  5:15 ` "(-)"?? Khem Raj
2017-09-21  6:41   ` Peter Kjellerstedt [this message]
2017-09-21 10:43     ` "(-)"?? Martin Jansa
2017-09-21 20:40       ` "(-)"?? Gunnar Andersson
  -- strict thread matches above, loose matches on Subject: below --
2004-04-23 17:45 :-) linux-net
     [not found] <vhscbyaxijufnolotqo@scyld.com>
2004-03-26  9:51 ` :-) P
2002-03-17  1:14 ±±¾©Ë÷ÁèÀñÆ·ÖÐÐÄ-ÀñÆ·¡¢°ì¹«ÓÃÆ·¡¢¼ÒÍ¥ÓÃÆ·¡¢´ÙÏúÆ·¡¢¹ã¸æÉ¡¡¢ÀñÆ·±í¡¢¹ã¸æ±Ê ±±¾©Ë÷ÁèÀñÆ·ÖÐÐÄ

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=eda389cc3fd34e08bd7f37c17fae4fcf@XBOX02.axis.com \
    --to=peter.kjellerstedt@axis.com \
    --cc=raj.khem@gmail.com \
    --cc=tmatsuzawa@xevo.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.