summaryrefslogtreecommitdiff
path: root/meta
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
parent0e6dfa5dcf324a1d32b634bbcd9487106a6f5413 (diff)
downloadopenembedded-core-641cdbc7ee0186053dd541e0dd5fb7b03b1c10d1.tar.gz
openembedded-core-641cdbc7ee0186053dd541e0dd5fb7b03b1c10d1.tar.bz2
openembedded-core-641cdbc7ee0186053dd541e0dd5fb7b03b1c10d1.tar.xz
openembedded-core-641cdbc7ee0186053dd541e0dd5fb7b03b1c10d1.zip
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')
-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 000000000..612039cb8
--- /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}' != '']}"