All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about OVERRIDES precedence
@ 2010-10-13 20:29 Maupin, Chase
  2010-10-13 21:21 ` Chris Larson
  0 siblings, 1 reply; 12+ messages in thread
From: Maupin, Chase @ 2010-10-13 20:29 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

All,

I have been looking into the OVERRIDES setting and it appears to me that the OVERRIDES are being handled in least specific to most specific order.  Meaning that if I have an override for a particular machine set that it has a lower priority than the override for a distro.

My OVERRIDES variable is actually set to evaluate:
# OVERRIDES=local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}:${FEED_ARCH}:${SOC_FAMILY}:libc-glibc${OVERRIDE_THUMB}${OVERRIDE_INTERWORK}

Which translates in my build to:
OVERRIDES="local:am37x-evm:angstrom:linux-gnueabi:arm:build-linux:fail-fast:pn-task-arago-toolchain-tisdk-multimedia-host:armv7a:omap3:libc-glibc:thumb-interwork"

I would expect that if I set an override for am37x-evm that this MACHINE specific override should trump the DISTRO specific override or the SOC_FAMILY override.

Likewise I would expect that the local override would have the highest precedence because I am trying to override something specifically for my local copy and that the "thumb-interwork" override would have the lowest precedence.

Is my expectation incorrect?  

If so then can we just reverse the list of overrides in the update_data method of <bitbake>/lib/bb/data.py, around line 500 in my version.  My bitbake is on version 1.10.  In the master this would be in the finalize function of the DataSmart class.

Thanks in advance for you input.  

Sincerely,
Chase Maupin
Software Applications
Catalog DSP Products
e-mail: chase.maupin@ti.com
phone: (281) 274-3285

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/




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

end of thread, other threads:[~2010-10-14 18:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-13 20:29 Question about OVERRIDES precedence Maupin, Chase
2010-10-13 21:21 ` Chris Larson
2010-10-13 21:30   ` Maupin, Chase
2010-10-13 21:38     ` Chris Larson
2010-10-14 13:23       ` Koen Kooi
2010-10-14 13:59         ` Chris Larson
2010-10-14 14:38           ` Phil Blundell
2010-10-14 15:29       ` Maupin, Chase
2010-10-14 15:33         ` Chris Larson
2010-10-14 16:37           ` Maupin, Chase
2010-10-14 16:41             ` Chris Larson
2010-10-14 18:03               ` Maupin, Chase

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.