All of lore.kernel.org
 help / color / mirror / Atom feed
* MACHINE_KERNEL_PR issue
@ 2009-10-26 15:37 Frans Meulenbroeks
  2009-10-26 15:42 ` Koen Kooi
  0 siblings, 1 reply; 5+ messages in thread
From: Frans Meulenbroeks @ 2009-10-26 15:37 UTC (permalink / raw)
  To: openembedded-devel

Hi,

While creating a recipe which generates a module I bumped into the
following issue.
If I do
inherit module
the package name uses MACHINE_KERNEL_PR and not PR.
I understand the reason for this: if the kernel is modified you want
the proper modules.
However in a recipe this means that if the recipe changes for whatever
reason that technically one should increase all MACHINE_KERNEL_PR
values (as otherwise the new version is not used).
In my eyes this is not very desirable.

Any opinions how we should fix this?

Frans



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: MACHINE_KERNEL_PR issue
  2009-10-26 15:37 MACHINE_KERNEL_PR issue Frans Meulenbroeks
@ 2009-10-26 15:42 ` Koen Kooi
  2009-10-26 16:03   ` Frans Meulenbroeks
  0 siblings, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2009-10-26 15:42 UTC (permalink / raw)
  To: openembedded-devel

On 26-10-09 16:37, Frans Meulenbroeks wrote:
> Hi,
>
> While creating a recipe which generates a module I bumped into the
> following issue.
> If I do
> inherit module
> the package name uses MACHINE_KERNEL_PR and not PR.
> I understand the reason for this: if the kernel is modified you want
> the proper modules.
> However in a recipe this means that if the recipe changes for whatever
> reason that technically one should increase all MACHINE_KERNEL_PR
> values (as otherwise the new version is not used).
> In my eyes this is not very desirable.
>
> Any opinions how we should fix this?

koen@dominion:/OE/org.openembedded.dev$ grep PR_append recipes/ti/*
recipes/ti/ti-cmem-module_2.24.01.bb:MACHINE_KERNEL_PR_append = "a"
recipes/ti/ti-dm355mm-module_1.13.bb:MACHINE_KERNEL_PR_append = "a"
recipes/ti/ti-dmai_svn.bb:MACHINE_KERNEL_PR_append = "c"
recipes/ti/ti-dsplink-module_1.61.3.bb:MACHINE_KERNEL_PR_append = "a" 

recipes/ti/ti-lpm-module_2.24.01.bb:MACHINE_KERNEL_PR_append = "a"
recipes/ti/ti-sdma-module_2.24.01.bb:MACHINE_KERNEL_PR_append = "a"




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: MACHINE_KERNEL_PR issue
  2009-10-26 15:42 ` Koen Kooi
@ 2009-10-26 16:03   ` Frans Meulenbroeks
  2009-10-26 17:32     ` Frans Meulenbroeks
  0 siblings, 1 reply; 5+ messages in thread
From: Frans Meulenbroeks @ 2009-10-26 16:03 UTC (permalink / raw)
  To: openembedded-devel

2009/10/26 Koen Kooi <k.kooi@student.utwente.nl>:
> On 26-10-09 16:37, Frans Meulenbroeks wrote:
>>
>> Hi,
>>
>> While creating a recipe which generates a module I bumped into the
>> following issue.
>> If I do
>> inherit module
>> the package name uses MACHINE_KERNEL_PR and not PR.
>> I understand the reason for this: if the kernel is modified you want
>> the proper modules.
>> However in a recipe this means that if the recipe changes for whatever
>> reason that technically one should increase all MACHINE_KERNEL_PR
>> values (as otherwise the new version is not used).
>> In my eyes this is not very desirable.
>>
>> Any opinions how we should fix this?
>
> koen@dominion:/OE/org.openembedded.dev$ grep PR_append recipes/ti/*
> recipes/ti/ti-cmem-module_2.24.01.bb:MACHINE_KERNEL_PR_append = "a"
> recipes/ti/ti-dm355mm-module_1.13.bb:MACHINE_KERNEL_PR_append = "a"
> recipes/ti/ti-dmai_svn.bb:MACHINE_KERNEL_PR_append = "c"
> recipes/ti/ti-dsplink-module_1.61.3.bb:MACHINE_KERNEL_PR_append = "a"
> recipes/ti/ti-lpm-module_2.24.01.bb:MACHINE_KERNEL_PR_append = "a"
> recipes/ti/ti-sdma-module_2.24.01.bb:MACHINE_KERNEL_PR_append = "a"

Ah, ok didn't know about that one and when coined this on #oe no-one
mentioned this solution.
Thanks alot! Frans



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: MACHINE_KERNEL_PR issue
  2009-10-26 16:03   ` Frans Meulenbroeks
@ 2009-10-26 17:32     ` Frans Meulenbroeks
  2009-10-30  7:44       ` Frans Meulenbroeks
  0 siblings, 1 reply; 5+ messages in thread
From: Frans Meulenbroeks @ 2009-10-26 17:32 UTC (permalink / raw)
  To: openembedded-devel

2009/10/26 Frans Meulenbroeks <fransmeulenbroeks@gmail.com>:
> 2009/10/26 Koen Kooi <k.kooi@student.utwente.nl>:
>> On 26-10-09 16:37, Frans Meulenbroeks wrote:
>>>
>>> Hi,
>>>
>>> While creating a recipe which generates a module I bumped into the
>>> following issue.
>>> If I do
>>> inherit module
>>> the package name uses MACHINE_KERNEL_PR and not PR.
>>> I understand the reason for this: if the kernel is modified you want
>>> the proper modules.
>>> However in a recipe this means that if the recipe changes for whatever
>>> reason that technically one should increase all MACHINE_KERNEL_PR
>>> values (as otherwise the new version is not used).
>>> In my eyes this is not very desirable.
>>>
>>> Any opinions how we should fix this?
>>
>> koen@dominion:/OE/org.openembedded.dev$ grep PR_append recipes/ti/*
>> recipes/ti/ti-cmem-module_2.24.01.bb:MACHINE_KERNEL_PR_append = "a"
>> recipes/ti/ti-dm355mm-module_1.13.bb:MACHINE_KERNEL_PR_append = "a"
>> recipes/ti/ti-dmai_svn.bb:MACHINE_KERNEL_PR_append = "c"
>> recipes/ti/ti-dsplink-module_1.61.3.bb:MACHINE_KERNEL_PR_append = "a"
>> recipes/ti/ti-lpm-module_2.24.01.bb:MACHINE_KERNEL_PR_append = "a"
>> recipes/ti/ti-sdma-module_2.24.01.bb:MACHINE_KERNEL_PR_append = "a"
>
> Ah, ok didn't know about that one and when coined this on #oe no-one
> mentioned this solution.
> Thanks alot! Frans
>

Two more things:

We have about 83 recipes that do inherit module.
and 12 that have MACHINE_KERNEL_PR (10 ti ones, linux omap pm and
open-iscsi which I just added)
so ti seems 71 have a problem

and why not change the class and add _$(PR) or so instead of _append ?

Frans



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: MACHINE_KERNEL_PR issue
  2009-10-26 17:32     ` Frans Meulenbroeks
@ 2009-10-30  7:44       ` Frans Meulenbroeks
  0 siblings, 0 replies; 5+ messages in thread
From: Frans Meulenbroeks @ 2009-10-30  7:44 UTC (permalink / raw)
  To: openembedded-devel

2009/10/26 Frans Meulenbroeks <fransmeulenbroeks@gmail.com>:
> 2009/10/26 Frans Meulenbroeks <fransmeulenbroeks@gmail.com>:
>> 2009/10/26 Koen Kooi <k.kooi@student.utwente.nl>:
>>> On 26-10-09 16:37, Frans Meulenbroeks wrote:
>>>>
>>>> Hi,
>>>>
>>>> While creating a recipe which generates a module I bumped into the
>>>> following issue.
>>>> If I do
>>>> inherit module
>>>> the package name uses MACHINE_KERNEL_PR and not PR.
>>>> I understand the reason for this: if the kernel is modified you want
>>>> the proper modules.
>>>> However in a recipe this means that if the recipe changes for whatever
>>>> reason that technically one should increase all MACHINE_KERNEL_PR
>>>> values (as otherwise the new version is not used).
>>>> In my eyes this is not very desirable.
>>>>
>>>> Any opinions how we should fix this?
>>>
>>> koen@dominion:/OE/org.openembedded.dev$ grep PR_append recipes/ti/*
>>> recipes/ti/ti-cmem-module_2.24.01.bb:MACHINE_KERNEL_PR_append = "a"
>>> recipes/ti/ti-dm355mm-module_1.13.bb:MACHINE_KERNEL_PR_append = "a"
>>> recipes/ti/ti-dmai_svn.bb:MACHINE_KERNEL_PR_append = "c"
>>> recipes/ti/ti-dsplink-module_1.61.3.bb:MACHINE_KERNEL_PR_append = "a"
>>> recipes/ti/ti-lpm-module_2.24.01.bb:MACHINE_KERNEL_PR_append = "a"
>>> recipes/ti/ti-sdma-module_2.24.01.bb:MACHINE_KERNEL_PR_append = "a"
>>
>> Ah, ok didn't know about that one and when coined this on #oe no-one
>> mentioned this solution.
>> Thanks alot! Frans
>>
>
> Two more things:
>
> We have about 83 recipes that do inherit module.
> and 12 that have MACHINE_KERNEL_PR (10 ti ones, linux omap pm and
> open-iscsi which I just added)
> so ti seems 71 have a problem
>
> and why not change the class and add _$(PR) or so instead of _append ?
As I saw no replies on this, replying to it myself to bring it on the
table again.

Can we agree on a policy wrt versioning of kernel modules.
My preference is a solution which uses ${MACHINE_KERNEL_PR} '+' ${PR}
where the recipe provides PR (just like for non-kernel recipes).
Can we agree on this (and can someone implement this, or do you trust
my measly python skills to do this myself :-) )

Frans



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-10-30  7:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-26 15:37 MACHINE_KERNEL_PR issue Frans Meulenbroeks
2009-10-26 15:42 ` Koen Kooi
2009-10-26 16:03   ` Frans Meulenbroeks
2009-10-26 17:32     ` Frans Meulenbroeks
2009-10-30  7:44       ` Frans Meulenbroeks

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.