]> code.ossystems Code Review - openembedded-core.git/commitdiff
soc-family.inc: to be included in machine.conf to add SOC_FAMILY to MACHINEOVERRIDE
authorDenys Dmytriyenko <denys@ti.com>
Sun, 4 Mar 2012 06:24:34 +0000 (01:24 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 4 Mar 2012 12:49:24 +0000 (04:49 -0800)
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>
meta/conf/machine/include/soc-family.inc [new file with mode: 0644]

diff --git a/meta/conf/machine/include/soc-family.inc b/meta/conf/machine/include/soc-family.inc
new file mode 100644 (file)
index 0000000..612039c
--- /dev/null
@@ -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}' != '']}"