* Use of MACHINE_KERNEL_PR in meta-ti recipes
@ 2011-12-03 21:13 Khem Raj
2011-12-03 21:42 ` Khem Raj
2011-12-03 23:16 ` Denys Dmytriyenko
0 siblings, 2 replies; 6+ messages in thread
From: Khem Raj @ 2011-12-03 21:13 UTC (permalink / raw)
To: meta-ti
Hi
I am seeing this kind of error all over in meta-ti recipes
ERROR: Unable to analyse format of PR variable: ${MACHINE_KERNEL_PR}e
ERROR: Unable to parse
/home/kraj/work/angstrom/sources/meta-ti/recipes-ti/local-power-manager/ti-local-power-manager_1.24.02.09.bb
Problem seems to be that these recipes are not getting
MACHINE_KERNEL_PR from anywhere but they are using it
and its not a standard variable in bitbake.conf either. I have
manually patched recipes-ti/includes/ti-staging.inc
to contain MACHINE_KERNEL_PR ?= "r0"
and patched few recipes which did not include this include to have the
definition in them
I don't know if this is the right way to fix it but this has got me
over the parsing problems
Thanks
-Khem
ps: I am not subscribed to this mailing list so please CC me in responses
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Use of MACHINE_KERNEL_PR in meta-ti recipes
2011-12-03 21:13 Use of MACHINE_KERNEL_PR in meta-ti recipes Khem Raj
@ 2011-12-03 21:42 ` Khem Raj
2011-12-03 23:18 ` Denys Dmytriyenko
2011-12-03 23:16 ` Denys Dmytriyenko
1 sibling, 1 reply; 6+ messages in thread
From: Khem Raj @ 2011-12-03 21:42 UTC (permalink / raw)
To: meta-ti
On Sat, Dec 3, 2011 at 1:13 PM, Khem Raj <raj.khem@gmail.com> wrote:
> Hi
>
> I am seeing this kind of error all over in meta-ti recipes
>
>
> ERROR: Unable to analyse format of PR variable: ${MACHINE_KERNEL_PR}e
> ERROR: Unable to parse
> /home/kraj/work/angstrom/sources/meta-ti/recipes-ti/local-power-manager/ti-local-power-manager_1.24.02.09.bb
>
> Problem seems to be that these recipes are not getting
> MACHINE_KERNEL_PR from anywhere but they are using it
> and its not a standard variable in bitbake.conf either. I have
> manually patched recipes-ti/includes/ti-staging.inc
> to contain MACHINE_KERNEL_PR ?= "r0"
>
> and patched few recipes which did not include this include to have the
> definition in them
>
> I don't know if this is the right way to fix it but this has got me
> over the parsing problems
btw. I am using qemuarm machine with angstrom distro on top of oe-core
and qemuarm conf does not define MACHINE_KERNEL_PR either
>
> Thanks
>
> -Khem
>
> ps: I am not subscribed to this mailing list so please CC me in responses
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Use of MACHINE_KERNEL_PR in meta-ti recipes
2011-12-03 21:13 Use of MACHINE_KERNEL_PR in meta-ti recipes Khem Raj
2011-12-03 21:42 ` Khem Raj
@ 2011-12-03 23:16 ` Denys Dmytriyenko
1 sibling, 0 replies; 6+ messages in thread
From: Denys Dmytriyenko @ 2011-12-03 23:16 UTC (permalink / raw)
To: Khem Raj; +Cc: meta-ti
On Sat, Dec 03, 2011 at 01:13:42PM -0800, Khem Raj wrote:
> Hi
>
> I am seeing this kind of error all over in meta-ti recipes
>
>
> ERROR: Unable to analyse format of PR variable: ${MACHINE_KERNEL_PR}e
> ERROR: Unable to parse
> /home/kraj/work/angstrom/sources/meta-ti/recipes-ti/local-power-manager/ti-local-power-manager_1.24.02.09.bb
>
> Problem seems to be that these recipes are not getting
> MACHINE_KERNEL_PR from anywhere but they are using it
> and its not a standard variable in bitbake.conf either. I have
> manually patched recipes-ti/includes/ti-staging.inc
> to contain MACHINE_KERNEL_PR ?= "r0"
>
> and patched few recipes which did not include this include to have the
> definition in them
>
> I don't know if this is the right way to fix it but this has got me
> over the parsing problems
All our machines in meta-ti define MACHINE_KERNEL_PR. Which machine do you
use?
> ps: I am not subscribed to this mailing list so please CC me in responses
--
Denys
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Use of MACHINE_KERNEL_PR in meta-ti recipes
2011-12-03 21:42 ` Khem Raj
@ 2011-12-03 23:18 ` Denys Dmytriyenko
2011-12-03 23:26 ` Khem Raj
0 siblings, 1 reply; 6+ messages in thread
From: Denys Dmytriyenko @ 2011-12-03 23:18 UTC (permalink / raw)
To: Khem Raj; +Cc: meta-ti
On Sat, Dec 03, 2011 at 01:42:30PM -0800, Khem Raj wrote:
> On Sat, Dec 3, 2011 at 1:13 PM, Khem Raj <raj.khem@gmail.com> wrote:
> > Hi
> >
> > I am seeing this kind of error all over in meta-ti recipes
> >
> >
> > ERROR: Unable to analyse format of PR variable: ${MACHINE_KERNEL_PR}e
> > ERROR: Unable to parse
> > /home/kraj/work/angstrom/sources/meta-ti/recipes-ti/local-power-manager/ti-local-power-manager_1.24.02.09.bb
> >
> > Problem seems to be that these recipes are not getting
> > MACHINE_KERNEL_PR from anywhere but they are using it
> > and its not a standard variable in bitbake.conf either. I have
> > manually patched recipes-ti/includes/ti-staging.inc
> > to contain MACHINE_KERNEL_PR ?= "r0"
> >
> > and patched few recipes which did not include this include to have the
> > definition in them
> >
> > I don't know if this is the right way to fix it but this has got me
> > over the parsing problems
>
> btw. I am using qemuarm machine with angstrom distro on top of oe-core
> and qemuarm conf does not define MACHINE_KERNEL_PR either
Ah, that explains it. Why do you need meta-ti layer with qemuarm? Is there a
specific recipe you need from it or you are just trying all layers in default
setup?
--
Denys
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Use of MACHINE_KERNEL_PR in meta-ti recipes
2011-12-03 23:18 ` Denys Dmytriyenko
@ 2011-12-03 23:26 ` Khem Raj
2011-12-04 0:24 ` Denys Dmytriyenko
0 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2011-12-03 23:26 UTC (permalink / raw)
To: Denys Dmytriyenko; +Cc: meta-ti
On Sat, Dec 3, 2011 at 3:18 PM, Denys Dmytriyenko <denis@denix.org> wrote:
> On Sat, Dec 03, 2011 at 01:42:30PM -0800, Khem Raj wrote:
>> On Sat, Dec 3, 2011 at 1:13 PM, Khem Raj <raj.khem@gmail.com> wrote:
>> > Hi
>> >
>> > I am seeing this kind of error all over in meta-ti recipes
>> >
>> >
>> > ERROR: Unable to analyse format of PR variable: ${MACHINE_KERNEL_PR}e
>> > ERROR: Unable to parse
>> > /home/kraj/work/angstrom/sources/meta-ti/recipes-ti/local-power-manager/ti-local-power-manager_1.24.02.09.bb
>> >
>> > Problem seems to be that these recipes are not getting
>> > MACHINE_KERNEL_PR from anywhere but they are using it
>> > and its not a standard variable in bitbake.conf either. I have
>> > manually patched recipes-ti/includes/ti-staging.inc
>> > to contain MACHINE_KERNEL_PR ?= "r0"
>> >
>> > and patched few recipes which did not include this include to have the
>> > definition in them
>> >
>> > I don't know if this is the right way to fix it but this has got me
>> > over the parsing problems
>>
>> btw. I am using qemuarm machine with angstrom distro on top of oe-core
>> and qemuarm conf does not define MACHINE_KERNEL_PR either
>
> Ah, that explains it. Why do you need meta-ti layer with qemuarm? Is there a
> specific recipe you need from it or you are just trying all layers in default
> setup?
I am trying angstrom defaults. I think a COMPATIBLE_MACHINE is nice to contain
the recipes for your machine layer only so it can be used in default
angstrom setup
for non TI machines. Since I build TI and non TI machines in same
tmpdir I dont want
to keep editing my layers.txt every time I use a different machine
>
> --
> Denys
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Use of MACHINE_KERNEL_PR in meta-ti recipes
2011-12-03 23:26 ` Khem Raj
@ 2011-12-04 0:24 ` Denys Dmytriyenko
0 siblings, 0 replies; 6+ messages in thread
From: Denys Dmytriyenko @ 2011-12-04 0:24 UTC (permalink / raw)
To: Khem Raj; +Cc: meta-ti
On Sat, Dec 03, 2011 at 03:26:32PM -0800, Khem Raj wrote:
> On Sat, Dec 3, 2011 at 3:18 PM, Denys Dmytriyenko <denis@denix.org> wrote:
> > On Sat, Dec 03, 2011 at 01:42:30PM -0800, Khem Raj wrote:
> >> On Sat, Dec 3, 2011 at 1:13 PM, Khem Raj <raj.khem@gmail.com> wrote:
> >> > Hi
> >> >
> >> > I am seeing this kind of error all over in meta-ti recipes
> >> >
> >> >
> >> > ERROR: Unable to analyse format of PR variable: ${MACHINE_KERNEL_PR}e
> >> > ERROR: Unable to parse
> >> > /home/kraj/work/angstrom/sources/meta-ti/recipes-ti/local-power-manager/ti-local-power-manager_1.24.02.09.bb
> >> >
> >> > Problem seems to be that these recipes are not getting
> >> > MACHINE_KERNEL_PR from anywhere but they are using it
> >> > and its not a standard variable in bitbake.conf either. I have
> >> > manually patched recipes-ti/includes/ti-staging.inc
> >> > to contain MACHINE_KERNEL_PR ?= "r0"
> >> >
> >> > and patched few recipes which did not include this include to have the
> >> > definition in them
> >> >
> >> > I don't know if this is the right way to fix it but this has got me
> >> > over the parsing problems
> >>
> >> btw. I am using qemuarm machine with angstrom distro on top of oe-core
> >> and qemuarm conf does not define MACHINE_KERNEL_PR either
> >
> > Ah, that explains it. Why do you need meta-ti layer with qemuarm? Is there a
> > specific recipe you need from it or you are just trying all layers in default
> > setup?
>
> I am trying angstrom defaults. I think a COMPATIBLE_MACHINE is nice to contain
> the recipes for your machine layer only so it can be used in default
> angstrom setup
> for non TI machines. Since I build TI and non TI machines in same
> tmpdir I dont want
> to keep editing my layers.txt every time I use a different machine
Actually, we'd like to ease off of COMPATIBLE_MACHINE use in our recipes to
make them more generic wherever possible.
I understand that MACHINE_KERNEL_PR is not entirely standard variable and
probably we should try to find a better alternative for its purpose...
--
Denys
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-12-04 0:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-03 21:13 Use of MACHINE_KERNEL_PR in meta-ti recipes Khem Raj
2011-12-03 21:42 ` Khem Raj
2011-12-03 23:18 ` Denys Dmytriyenko
2011-12-03 23:26 ` Khem Raj
2011-12-04 0:24 ` Denys Dmytriyenko
2011-12-03 23:16 ` Denys Dmytriyenko
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.