Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] soc-family.inc: to be included in machine.conf to add SOC_FAMILY to MACHINEOVERRIDE
@ 2012-03-04  6:24 Denys Dmytriyenko
  2012-03-04 12:49 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Denys Dmytriyenko @ 2012-03-04  6:24 UTC (permalink / raw)
  To: openembedded-core; +Cc: Denys Dmytriyenko

From: Denys Dmytriyenko <denys@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@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




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

end of thread, other threads:[~2012-03-04 12:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-04  6:24 [PATCH] soc-family.inc: to be included in machine.conf to add SOC_FAMILY to MACHINEOVERRIDE Denys Dmytriyenko
2012-03-04 12:49 ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox