aboutsummaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/soc-family.inc
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2012-03-04 01:24:34 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-04 04:49:24 -0800
commit641cdbc7ee0186053dd541e0dd5fb7b03b1c10d1 (patch)
tree948472fac8c1fe62ea1d42296ae8d29550153aab /meta/conf/machine/include/soc-family.inc
parent0e6dfa5dcf324a1d32b634bbcd9487106a6f5413 (diff)
downloadopenembedded-core-contrib-641cdbc7ee0186053dd541e0dd5fb7b03b1c10d1.tar.gz
soc-family.inc: to be included in machine.conf to add SOC_FAMILY to MACHINEOVERRIDE
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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/soc-family.inc')
-rw-r--r--meta/conf/machine/include/soc-family.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/conf/machine/include/soc-family.inc b/meta/conf/machine/include/soc-family.inc
new file mode 100644
index 0000000000..612039cb82
--- /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}' != '']}"