SOC_FAMILY: add to MACHINE_OVERRIDES locally

This breaks the hard dependency on Angstrom for getting a sane set of recipes.

The variable name is kept the same and the actual code moved from angstrom.inc to soc-family.inc to make it clear what it is doing and how.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
Koen Kooi authored and Denys Dmytriyenko committed 2012-03-04 00:32:39 -05:00
1 parent 020b6f893d
commit 0d4418518a
7 files changed
+9

No files matched your search

+1
View File
@@ -1,4 +1,5 @@
SOC_FAMILY = "omap3"
require conf/machine/include/soc-family.inc
require conf/machine/include/tune-cortexa8.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-omap"
+1
View File
@@ -1,4 +1,5 @@
SOC_FAMILY = "omap4"
require conf/machine/include/soc-family.inc
require conf/machine/include/tune-cortexa8.inc
+1
View File
@@ -1 +1,2 @@
SOC_FAMILY = "omapl138"
require conf/machine/include/soc-family.inc
+3
View File
@@ -0,0 +1,3 @@
# Add SOC_FAMILY to machine overrides so we get access to e.g. 'omap3' and 'ti335x'
MACHINEOVERRIDES .= "${@['', ':${SOC_FAMILY}']['${SOC_FAMILY}' != '']}"
+1
View File
@@ -1,4 +1,5 @@
SOC_FAMILY = "ti33x"
require conf/machine/include/soc-family.inc
require conf/machine/include/tune-cortexa8.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-ti33x-psp"
+1
View File
@@ -1,4 +1,5 @@
SOC_FAMILY = "ti814x"
require conf/machine/include/soc-family.inc
require conf/machine/include/tune-cortexa8.inc
+1
View File
@@ -1,4 +1,5 @@
SOC_FAMILY = "ti816x"
require conf/machine/include/soc-family.inc
require conf/machine/include/tune-cortexa8.inc