From: Denys Dmytriyenko <[email protected]>

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 <[email protected]>
---
 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


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to