* BSPs and duplicate files
@ 2010-11-11 15:19 João Henrique Freitas
2010-11-11 15:38 ` Joshua Lock
2010-11-12 0:16 ` Philip Balister
0 siblings, 2 replies; 6+ messages in thread
From: João Henrique Freitas @ 2010-11-11 15:19 UTC (permalink / raw)
To: yocto
Hi,
Two questions:
With some BSPs, like
meta
meta-myhardware
meta-mydistro
I need to create a conf/checksums.ini for every BSP or append it to
meta/conf/checksums.ini ? In other others, checksums.ini is per BSP or
unique?
In my meta-myhardware I have a kernel too:
meta-myhardware/recipes-kernel/linux/linux.inc
meta-myhardware/recipes-kernel/linux/linux_2.6.22.bb
The file meta-myhardware/recipes-kernel/linux/linux.inc is the some of
meta/recipes-kernel/linux/linux.inc. Is any way to use a unique file
instead of duplicate it?
--
-----------------------------------------------------------
João Henrique Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil
BSD051283
LPI 1
http://www.joaohfreitas.eti.br
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: BSPs and duplicate files
2010-11-11 15:19 BSPs and duplicate files João Henrique Freitas
@ 2010-11-11 15:38 ` Joshua Lock
2010-11-11 21:39 ` João Henrique Freitas
2010-11-12 0:16 ` Philip Balister
1 sibling, 1 reply; 6+ messages in thread
From: Joshua Lock @ 2010-11-11 15:38 UTC (permalink / raw)
To: João Henrique Freitas; +Cc: yocto
On Thu, 2010-11-11 at 13:19 -0200, João Henrique Freitas wrote:
> Hi,
>
> Two questions:
>
> With some BSPs, like
>
> meta
> meta-myhardware
> meta-mydistro
>
> I need to create a conf/checksums.ini for every BSP or append it to
> meta/conf/checksums.ini ? In other others, checksums.ini is per BSP or
> unique?
I'm not sure about this one, hopefully someone else can help you here.
>
> In my meta-myhardware I have a kernel too:
>
> meta-myhardware/recipes-kernel/linux/linux.inc
> meta-myhardware/recipes-kernel/linux/linux_2.6.22.bb
>
> The file meta-myhardware/recipes-kernel/linux/linux.inc is the some of
> meta/recipes-kernel/linux/linux.inc. Is any way to use a unique file
> instead of duplicate it?
>
You can include files from the core metadata by using a path relative to
the meta/ directory, such as:
require recipes-kernel/linux/linux.inc
Cheers,
Joshua
--
Joshua Lock
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: BSPs and duplicate files
2010-11-11 15:38 ` Joshua Lock
@ 2010-11-11 21:39 ` João Henrique Freitas
0 siblings, 0 replies; 6+ messages in thread
From: João Henrique Freitas @ 2010-11-11 21:39 UTC (permalink / raw)
To: Joshua Lock; +Cc: yocto
Hi
> You can include files from the core metadata by using a path relative to
> the meta/ directory, such as:
>
> require recipes-kernel/linux/linux.inc
>
Works
Thanks
--
-----------------------------------------------------------
João Henrique Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil
BSD051283
LPI 1
http://www.joaohfreitas.eti.br
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: BSPs and duplicate files
2010-11-11 15:19 BSPs and duplicate files João Henrique Freitas
2010-11-11 15:38 ` Joshua Lock
@ 2010-11-12 0:16 ` Philip Balister
2010-11-12 3:58 ` Scott Garman
1 sibling, 1 reply; 6+ messages in thread
From: Philip Balister @ 2010-11-12 0:16 UTC (permalink / raw)
To: yocto
On 11/11/2010 07:19 AM, João Henrique Freitas wrote:
> Hi,
>
> Two questions:
>
> With some BSPs, like
>
> meta
> meta-myhardware
> meta-mydistro
>
> I need to create a conf/checksums.ini for every BSP or append it to
> meta/conf/checksums.ini ? In other others, checksums.ini is per BSP or
> unique?
Poky still uses checksums.ini? OE moved the checksums to the recipes and
this seems make things much easier to work with.
Philip
>
> In my meta-myhardware I have a kernel too:
>
> meta-myhardware/recipes-kernel/linux/linux.inc
> meta-myhardware/recipes-kernel/linux/linux_2.6.22.bb
>
> The file meta-myhardware/recipes-kernel/linux/linux.inc is the some of
> meta/recipes-kernel/linux/linux.inc. Is any way to use a unique file
> instead of duplicate it?
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: BSPs and duplicate files
2010-11-12 0:16 ` Philip Balister
@ 2010-11-12 3:58 ` Scott Garman
2010-11-12 17:42 ` Philip Balister
0 siblings, 1 reply; 6+ messages in thread
From: Scott Garman @ 2010-11-12 3:58 UTC (permalink / raw)
To: yocto
On 11/11/2010 04:16 PM, Philip Balister wrote:
> On 11/11/2010 07:19 AM, João Henrique Freitas wrote:
>> Hi,
>>
>> Two questions:
>>
>> With some BSPs, like
>>
>> meta
>> meta-myhardware
>> meta-mydistro
>>
>> I need to create a conf/checksums.ini for every BSP or append it to
>> meta/conf/checksums.ini ? In other others, checksums.ini is per BSP or
>> unique?
>
> Poky still uses checksums.ini? OE moved the checksums to the recipes and
> this seems make things much easier to work with.
We'll be switching to recipe-based checksums soon in master, and in fact
you'll notice that most of our recipes already have checksums in them.
It's just a matter of importing the code from OE and making whatever
tweaks might be necessary.
Scott
--
Scott Garman
Embedded Linux Distro Engineer - Yocto Project
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: BSPs and duplicate files
2010-11-12 3:58 ` Scott Garman
@ 2010-11-12 17:42 ` Philip Balister
0 siblings, 0 replies; 6+ messages in thread
From: Philip Balister @ 2010-11-12 17:42 UTC (permalink / raw)
To: yocto
On 11/11/2010 07:58 PM, Scott Garman wrote:
> On 11/11/2010 04:16 PM, Philip Balister wrote:
>> On 11/11/2010 07:19 AM, João Henrique Freitas wrote:
>>> Hi,
>>>
>>> Two questions:
>>>
>>> With some BSPs, like
>>>
>>> meta
>>> meta-myhardware
>>> meta-mydistro
>>>
>>> I need to create a conf/checksums.ini for every BSP or append it to
>>> meta/conf/checksums.ini ? In other others, checksums.ini is per BSP or
>>> unique?
>>
>> Poky still uses checksums.ini? OE moved the checksums to the recipes and
>> this seems make things much easier to work with.
>
> We'll be switching to recipe-based checksums soon in master, and in fact
> you'll notice that most of our recipes already have checksums in them.
> It's just a matter of importing the code from OE and making whatever
> tweaks might be necessary.
Good to know. I don't think one approach is technically better than the
other, but when you have a "large" community, it seemed like one
checksum file lead to merge conflicts.
Philip
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-11-12 17:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-11 15:19 BSPs and duplicate files João Henrique Freitas
2010-11-11 15:38 ` Joshua Lock
2010-11-11 21:39 ` João Henrique Freitas
2010-11-12 0:16 ` Philip Balister
2010-11-12 3:58 ` Scott Garman
2010-11-12 17:42 ` Philip Balister
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.