[oe-commits] Chase Maupin : soc-family: fix SOC_FAMILY override order
git at git.openembedded.org
git at git.openembedded.org
Sun Mar 10 04:36:04 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: 0b836b9d79255a5b2f358fe718c67638f52ecf72
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=0b836b9d79255a5b2f358fe718c67638f52ecf72
Author: Chase Maupin <Chase.Maupin at ti.com>
Date: Fri Mar 8 11:51:04 2013 -0600
soc-family: fix SOC_FAMILY override order
* the current order has SOC_FAMILY settings, which are generic
settings for a group of devices, overriding the machine specific
settings. For example:
KERNEL_DEVICETREE_ti33x = "xxxx"
KERNEL_DEVICETREE_beaglebone = "yyyy"
Should yield "yyyy" when building for the beaglebone because
that is a more specific device than ti33x. However, without this
change the result is that the value is set to "xxxx" meaning the
more generic setting overrides the more specific setting.
Signed-off-by: Chase Maupin <Chase.Maupin at ti.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/conf/machine/include/soc-family.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/conf/machine/include/soc-family.inc b/meta/conf/machine/include/soc-family.inc
index 612039c..0251da0 100644
--- a/meta/conf/machine/include/soc-family.inc
+++ b/meta/conf/machine/include/soc-family.inc
@@ -1,2 +1,2 @@
# Add SOC_FAMILY to machine overrides so we get access to e.g. 'omap3' and 'ti335x'
-MACHINEOVERRIDES .= "${@['', ':${SOC_FAMILY}']['${SOC_FAMILY}' != '']}"
+MACHINEOVERRIDES =. "${@['', '${SOC_FAMILY}:']['${SOC_FAMILY}' != '']}"
More information about the Openembedded-commits
mailing list