* require *.bbappend
@ 2011-12-17 1:58 Andreas Müller
2011-12-19 18:25 ` Joshua Lock
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Müller @ 2011-12-17 1:58 UTC (permalink / raw
To: openembedded-core
Hi
I have the following use case:
In my working layer I would like to have a recipe adding functionality to a
recipe from another layer (e.g systemd-image.bb from angstrom) with a different
name ( -> no bbappend ). How about
* create systemd-image.bbapend with just 'FILESEXTRAPATHS := "${THISDIR}"' to
get it into the scope of my layer
* create a recipe which contains 'require systemd-image.bbappend'
Currently parser complains that systemd-image.bbappend is not a BitBake file.
Would a modification be possible or is there another way to solve?
Andreas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: require *.bbappend
2011-12-17 1:58 require *.bbappend Andreas Müller
@ 2011-12-19 18:25 ` Joshua Lock
2011-12-19 22:05 ` Andreas Müller
0 siblings, 1 reply; 3+ messages in thread
From: Joshua Lock @ 2011-12-19 18:25 UTC (permalink / raw
To: openembedded-core
On 16/12/11 17:58, Andreas Müller wrote:
> Hi
>
> I have the following use case:
>
> In my working layer I would like to have a recipe adding functionality to a
> recipe from another layer (e.g systemd-image.bb from angstrom) with a different
> name ( -> no bbappend ). How about
>
> * create systemd-image.bbapend with just 'FILESEXTRAPATHS := "${THISDIR}"' to
> get it into the scope of my layer
> * create a recipe which contains 'require systemd-image.bbappend'
>
> Currently parser complains that systemd-image.bbappend is not a BitBake file.
I think this should work and the issue you're seeing is that require
wants a relative PATH from BBPATH.
i.e. require recipes-images/angstrom/systemd-image.bb
Cheers,
Joshua
--
Joshua Lock
Yocto Project "Johannes factotum"
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: require *.bbappend
2011-12-19 18:25 ` Joshua Lock
@ 2011-12-19 22:05 ` Andreas Müller
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Müller @ 2011-12-19 22:05 UTC (permalink / raw
To: Patches and discussions about the oe-core layer
On Monday, December 19, 2011 07:25:29 PM Joshua Lock wrote:
> On 16/12/11 17:58, Andreas Müller wrote:
> > Hi
> >
> > I have the following use case:
> >
> > In my working layer I would like to have a recipe adding functionality to
> > a recipe from another layer (e.g systemd-image.bb from angstrom) with a
> > different name ( -> no bbappend ). How about
> >
> > * create systemd-image.bbapend with just 'FILESEXTRAPATHS :=
> > "${THISDIR}"' to get it into the scope of my layer
> > * create a recipe which contains 'require systemd-image.bbappend'
> >
> > Currently parser complains that systemd-image.bbappend is not a BitBake
> > file.
>
> I think this should work and the issue you're seeing is that require
> wants a relative PATH from BBPATH.
>
> i.e. require recipes-images/angstrom/systemd-image.bb
>
AArgh - thanks for helping me out of quirks by such simple solution :)
Andreas
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-12-19 22:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-17 1:58 require *.bbappend Andreas Müller
2011-12-19 18:25 ` Joshua Lock
2011-12-19 22:05 ` Andreas Müller
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.