[OE-core] [PATCH] soc-family.inc: to be included in machine.conf to add SOC_FAMILY to MACHINEOVERRIDE

Denys Dmytriyenko denis at denix.org
Sun Mar 4 06:24:34 UTC 2012


From: Denys Dmytriyenko <denys at ti.com>

Add a soc-family.inc file that can be included in a machine.conf to enable
the use of SOC_FAMILY in MACHINEOVERRIDE, which could be useful to group
multiple machines with the same common base. Some examples can be seen in
meta-ti BSP layer.

Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
 meta/conf/machine/include/soc-family.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
 create mode 100644 meta/conf/machine/include/soc-family.inc

diff --git a/meta/conf/machine/include/soc-family.inc b/meta/conf/machine/include/soc-family.inc
new file mode 100644
index 0000000..612039c
--- /dev/null
+++ b/meta/conf/machine/include/soc-family.inc
@@ -0,0 +1,2 @@
+# Add SOC_FAMILY to machine overrides so we get access to e.g. 'omap3' and 'ti335x'
+MACHINEOVERRIDES .= "${@['', ':${SOC_FAMILY}']['${SOC_FAMILY}' != '']}"
-- 
1.7.8.5





More information about the Openembedded-core mailing list