All of lore.kernel.org
 help / color / mirror / Atom feed
* bitbake ignores DEFAULT_PREFERENCE
@ 2009-08-20  4:40 Dmitry Vinokurov
  2009-08-20  5:04 ` Denys Dmytriyenko
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Vinokurov @ 2009-08-20  4:40 UTC (permalink / raw)
  To: openembedded-devel

Hello,

I want to port OE to LPC3250 board and now I'm trying to build 
helloworld-image.

I've created lpc3250.conf in conf/machine:
TARGET_ARCH = "arm"
PACKAGE_EXTRA_ARCHS = "armv5te"
TARGET_CC_ARCH = "-fsigned-char -mfpu=vfp -mfloat-abi=softfp"

Then I've added DEFAULT_PREFERENCE_lpc3250 = "1" to 
'recipes/linux/linux_2.6.27.bb', but 'bitbake -v helloworld-image' 
downloads 2.6.23 kernel all the same. Re-reading all recipes database 
make no sense.

Could anybody advise, how this can be solved? I need to use exactly 
2.6.27 kernel as I know that it definitely works.

Thanks in advance.

-- 
Best Regards, 
Dmitry Vinokurov 
<d.vinokuroff@gmail.com>




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

* Re: bitbake ignores DEFAULT_PREFERENCE
  2009-08-20  4:40 bitbake ignores DEFAULT_PREFERENCE Dmitry Vinokurov
@ 2009-08-20  5:04 ` Denys Dmytriyenko
  2009-08-21  2:46   ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Denys Dmytriyenko @ 2009-08-20  5:04 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Aug 20, 2009 at 10:40:08AM +0600, Dmitry Vinokurov wrote:
> Hello,
>
> I want to port OE to LPC3250 board and now I'm trying to build 
> helloworld-image.
>
> I've created lpc3250.conf in conf/machine:
> TARGET_ARCH = "arm"
> PACKAGE_EXTRA_ARCHS = "armv5te"
> TARGET_CC_ARCH = "-fsigned-char -mfpu=vfp -mfloat-abi=softfp"
>
> Then I've added DEFAULT_PREFERENCE_lpc3250 = "1" to 
> 'recipes/linux/linux_2.6.27.bb', but 'bitbake -v helloworld-image' 
> downloads 2.6.23 kernel all the same. Re-reading all recipes database make 
> no sense.
>
> Could anybody advise, how this can be solved? I need to use exactly 2.6.27 
> kernel as I know that it definitely works.

Are you sure it downloads 2.6.23 to build your kernel and not the 
linux-libc-headers? Check the dependencies and what it's going to build by 
executing "bitbake <target> -g" and then poking into depends.dot...

Otherwise you can try setting PREFERRED_VERSION_virtual/kernel = "2.6.23" to 
override DEFAULT_PREFERENCE...

-- 
Denys



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

* Re: bitbake ignores DEFAULT_PREFERENCE
  2009-08-20  5:04 ` Denys Dmytriyenko
@ 2009-08-21  2:46   ` Khem Raj
  2009-08-21  4:45     ` Dmitry Vinokurov
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2009-08-21  2:46 UTC (permalink / raw)
  To: openembedded-devel

On Wed, Aug 19, 2009 at 10:04 PM, Denys Dmytriyenko<denis@denix.org> wrote:
> On Thu, Aug 20, 2009 at 10:40:08AM +0600, Dmitry Vinokurov wrote:
>> Hello,
>>
>> I want to port OE to LPC3250 board and now I'm trying to build
>> helloworld-image.
>>
>> I've created lpc3250.conf in conf/machine:
>> TARGET_ARCH = "arm"
>> PACKAGE_EXTRA_ARCHS = "armv5te"
>> TARGET_CC_ARCH = "-fsigned-char -mfpu=vfp -mfloat-abi=softfp"
>>
>> Then I've added DEFAULT_PREFERENCE_lpc3250 = "1" to
>> 'recipes/linux/linux_2.6.27.bb', but 'bitbake -v helloworld-image'
>> downloads 2.6.23 kernel all the same. Re-reading all recipes database make
>> no sense.

It could be downloading it for linux-libc-headers package too. bitbake -g
can help you here.

>>
>> Could anybody advise, how this can be solved? I need to use exactly 2.6.27
>> kernel as I know that it definitely works.
>
> Are you sure it downloads 2.6.23 to build your kernel and not the
> linux-libc-headers? Check the dependencies and what it's going to build by
> executing "bitbake <target> -g" and then poking into depends.dot...
>
> Otherwise you can try setting PREFERRED_VERSION_virtual/kernel = "2.6.23" to
> override DEFAULT_PREFERENCE...
>
> --
> Denys
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



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

* Re: bitbake ignores DEFAULT_PREFERENCE
  2009-08-21  2:46   ` Khem Raj
@ 2009-08-21  4:45     ` Dmitry Vinokurov
  0 siblings, 0 replies; 4+ messages in thread
From: Dmitry Vinokurov @ 2009-08-21  4:45 UTC (permalink / raw)
  To: openembedded-devel

Khem Raj wrote:
> On Wed, Aug 19, 2009 at 10:04 PM, Denys Dmytriyenko<denis@denix.org> wrote:
>   
>> On Thu, Aug 20, 2009 at 10:40:08AM +0600, Dmitry Vinokurov wrote:
>>     
>>> Hello,
>>>
>>> I want to port OE to LPC3250 board and now I'm trying to build
>>> helloworld-image.
>>>
>>> I've created lpc3250.conf in conf/machine:
>>> TARGET_ARCH = "arm"
>>> PACKAGE_EXTRA_ARCHS = "armv5te"
>>> TARGET_CC_ARCH = "-fsigned-char -mfpu=vfp -mfloat-abi=softfp"
>>>
>>> Then I've added DEFAULT_PREFERENCE_lpc3250 = "1" to
>>> 'recipes/linux/linux_2.6.27.bb', but 'bitbake -v helloworld-image'
>>> downloads 2.6.23 kernel all the same. Re-reading all recipes database make
>>> no sense.
>>>       
>
> It could be downloading it for linux-libc-headers package too. bitbake -g
> can help you here.
>
>   
>>> Could anybody advise, how this can be solved? I need to use exactly 2.6.27
>>> kernel as I know that it definitely works.
>>>       
>> Are you sure it downloads 2.6.23 to build your kernel and not the
>> linux-libc-headers? Check the dependencies and what it's going to build by
>> executing "bitbake <target> -g" and then poking into depends.dot...
>>
>> Otherwise you can try setting PREFERRED_VERSION_virtual/kernel = "2.6.23" to
>> override DEFAULT_PREFERENCE...
>>
>> --
>> Denys
>>     
Yes, you're right, it was for linux-libc-headers package. I'm not so 
easily work with OE yet.

--
Best Regards, 
Dmitry Vinokurov 
<d.vinokuroff@gmail.com>




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

end of thread, other threads:[~2009-08-21  5:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-20  4:40 bitbake ignores DEFAULT_PREFERENCE Dmitry Vinokurov
2009-08-20  5:04 ` Denys Dmytriyenko
2009-08-21  2:46   ` Khem Raj
2009-08-21  4:45     ` Dmitry Vinokurov

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.