[oe-commits] Denys Dmytriyenko : soc-family.inc: to be included in machine. conf to add SOC_FAMILY to MACHINEOVERRIDE
git at git.openembedded.org
git at git.openembedded.org
Sun Mar 4 12:52:04 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: 641cdbc7ee0186053dd541e0dd5fb7b03b1c10d1
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=641cdbc7ee0186053dd541e0dd5fb7b03b1c10d1
Author: Denys Dmytriyenko <denys at ti.com>
Date: Sun Mar 4 01:24:34 2012 -0500
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 at ti.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/conf/machine/include/soc-family.inc | 2 ++
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 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}' != '']}"
More information about the Openembedded-commits
mailing list