All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-xilinx] PREFERRED_VERSION_linux-libc-headers = "3.6" getting ignored
@ 2013-04-19  7:44 Elvis Dowson
  2013-04-19  8:25 ` Paul Eggleton
  0 siblings, 1 reply; 2+ messages in thread
From: Elvis Dowson @ 2013-04-19  7:44 UTC (permalink / raw)
  To: Yocto Discussion Mailing List; +Cc: meta-xilinx Mailing List

Hi,
       In my zynq-7-default-versions.inc file, I have the following definitions for preferred versions

PREFERRED_VERSION_virtual/kernel ?= "3.6"
PREFERRED_VERSION_linux-libc-headers = "3.6"
PREFERRED_VERSION_u-boot = "2012.10"

However, when I build core-image-minimal, PREFERRED_VERSION_linux-libc-headers = "3.6" gets ignored and it goes ahead and builds linux-libc-headers_3.8.bb

Is it only effective if specified in the local.conf file?

Elvis Dowson

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

* Re: [meta-xilinx] PREFERRED_VERSION_linux-libc-headers = "3.6" getting ignored
  2013-04-19  7:44 [meta-xilinx] PREFERRED_VERSION_linux-libc-headers = "3.6" getting ignored Elvis Dowson
@ 2013-04-19  8:25 ` Paul Eggleton
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggleton @ 2013-04-19  8:25 UTC (permalink / raw)
  To: Elvis Dowson; +Cc: yocto, meta-xilinx Mailing List

On Friday 19 April 2013 11:44:49 Elvis Dowson wrote:
>        In my zynq-7-default-versions.inc file, I have the following
> definitions for preferred versions
> 
> PREFERRED_VERSION_virtual/kernel ?= "3.6"
> PREFERRED_VERSION_linux-libc-headers = "3.6"
> PREFERRED_VERSION_u-boot = "2012.10"
> 
> However, when I build core-image-minimal,
> PREFERRED_VERSION_linux-libc-headers = "3.6" gets ignored and it goes ahead
> and builds linux-libc-headers_3.8.bb
> 
> Is it only effective if specified in the local.conf file?

No, it should be effective anywhere - unless it's being overridden later on. In 
recent versions of bitbake, the -e option will show for each variable how the 
final value got set, you should be able to see where it is being overridden 
from there. Alternatively with older versions you should just be able to "git 
grep" for the value in each of the layers you have enabled in order to find 
where it is being set.

Are you sure you really need your own version of linux-libc-headers? Most of 
the time it is not necessary for the version to match that of the kernel you 
are using.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

end of thread, other threads:[~2013-04-19  8:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-19  7:44 [meta-xilinx] PREFERRED_VERSION_linux-libc-headers = "3.6" getting ignored Elvis Dowson
2013-04-19  8:25 ` Paul Eggleton

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.