($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: "Altous, Salahaldeen" <Salahaldeen.Altous@leica-camera.com>
To: "Alexander Kanavin" <alex.kanavin@gmail.com>,
	yocto@lists.yoctoproject.org
Subject: Re: [yocto] Yocto common place holder for includes which used multiple recipe
Date: Tue, 23 Apr 2024 05:19:15 -0700	[thread overview]
Message-ID: <24843.1713874755677867912@lists.yoctoproject.org> (raw)
In-Reply-To: <CANNYZj8KMPiz3kKT-XNwc1pEDDFp85aem6fMbQ_b9S=ZASfwvA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1597 bytes --]

Hi Alex

thanks for your quick reply.

On Tue, Apr 23, 2024 at 05:02 AM, Alexander Kanavin wrote:

> 
> I think you can simply make it a class and put under
> classes/some.bbclass? Plenty of recipes in oe-core do this, see e.g.
> gnomebase.bbclass.

I need something like these these variables

EXTERNAL_PROJECT_XXX_TYPE ?= "lib"
EXTERNAL_PROJECT_XXX_NAME ?= "lc_xxx"
EXTERNAL_PROJECT_XXX_GIT_URI ?= "${COMPANY_GIT_REPO}:test/independent-modules/lc_xxx.git"
EXTERNAL_PROJECT_XXX_GIT_BRANCH ?= "development"
EXTERNAL_PROJECT_XXX_GIT_TAG ?= "0.4.3-dev"

EXTERNAL_PROJECT_YYY_TYPE ?= "lib"
EXTERNAL_PROJECT_YYY_NAME ?= "lc-yyy"
EXTERNAL_PROJECT_XXX_GIT_URI ?= "${COMPANY_GIT_REPO}:test/independent-modules/lc_xxx.git"
EXTERNAL_PROJECT_YYY_GIT_BRANCH ?= "development"
EXTERNAL_PROJECT_YYY_GIT_TAG ?= "0.2.1-dev"

is this something possible with bbclass?

Salahaldeen

> 
> 
> Alex
> 
> On Tue, 23 Apr 2024 at 13:57, Altous, Salahaldeen via
> lists.yoctoproject.org
> <Salahaldeen.Altous=leica-camera.com@lists.yoctoproject.org> wrote:
> 
>> Hi All,
>> 
>> I need a common place holder to share one include files which can be used
>> by multiple recipe (this include files includes some variables like
>> SRC_URL, tag, gitbranch, ..., etc).
>> 
>> I can copy it to each recipe but I am looking for the best practice to
>> share a common inc file for all recipes in meta-xxx which can be found by
>> default and this need to be under meta-xxx folder.
>> 
>> thanks in advance.
>> 
>> 
>> 
>> Regards,
>> 
>> Salahaldeen Altous
>> 
>> 
>> 
> 
>

[-- Attachment #2: Type: text/html, Size: 1746 bytes --]

  reply	other threads:[~2024-04-23 12:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-23 11:57 Yocto common place holder for includes which used multiple recipe Altous, Salahaldeen
2024-04-23 12:02 ` [yocto] " Alexander Kanavin
2024-04-23 12:19   ` Altous, Salahaldeen [this message]
2024-04-23 12:26     ` Alexander Kanavin
2024-04-23 13:06       ` Altous, Salahaldeen

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=24843.1713874755677867912@lists.yoctoproject.org \
    --to=salahaldeen.altous@leica-camera.com \
    --cc=alex.kanavin@gmail.com \
    --cc=yocto@lists.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).