summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2012-03-03 11:53:06 +0100
committerDenys Dmytriyenko <denys@ti.com>2012-03-04 00:32:39 -0500
commit0d4418518a05b8f47697aa69a18a832d90eb8d87 (patch)
treef5ab30ccba03c47b4c0c0b45c6c8e036aceb4ffb
parent020b6f893d13e36bccd7a2d8e6a0e6ab5e602450 (diff)
downloadmeta-ti-0d4418518a05b8f47697aa69a18a832d90eb8d87.tar.gz
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>
-rw-r--r--conf/machine/include/omap3.inc1
-rw-r--r--conf/machine/include/omap4.inc1
-rw-r--r--conf/machine/include/omapl138.inc1
-rw-r--r--conf/machine/include/soc-family.inc3
-rw-r--r--conf/machine/include/ti33x.inc1
-rw-r--r--conf/machine/include/ti814x.inc1
-rw-r--r--conf/machine/include/ti816x.inc1
7 files changed, 9 insertions, 0 deletions
diff --git a/conf/machine/include/omap3.inc b/conf/machine/include/omap3.inc
index 8fc0903e..9cafe852 100644
--- a/conf/machine/include/omap3.inc
+++ b/conf/machine/include/omap3.inc
@@ -1,4 +1,5 @@
1SOC_FAMILY = "omap3" 1SOC_FAMILY = "omap3"
2require conf/machine/include/soc-family.inc
2 3
3require conf/machine/include/tune-cortexa8.inc 4require conf/machine/include/tune-cortexa8.inc
4PREFERRED_PROVIDER_virtual/kernel = "linux-omap" 5PREFERRED_PROVIDER_virtual/kernel = "linux-omap"
diff --git a/conf/machine/include/omap4.inc b/conf/machine/include/omap4.inc
index 51e4a84b..d8d7e08b 100644
--- a/conf/machine/include/omap4.inc
+++ b/conf/machine/include/omap4.inc
@@ -1,4 +1,5 @@
1SOC_FAMILY = "omap4" 1SOC_FAMILY = "omap4"
2require conf/machine/include/soc-family.inc
2 3
3require conf/machine/include/tune-cortexa8.inc 4require conf/machine/include/tune-cortexa8.inc
4 5
diff --git a/conf/machine/include/omapl138.inc b/conf/machine/include/omapl138.inc
index 4c222753..19496424 100644
--- a/conf/machine/include/omapl138.inc
+++ b/conf/machine/include/omapl138.inc
@@ -1 +1,2 @@
1SOC_FAMILY = "omapl138" 1SOC_FAMILY = "omapl138"
2require conf/machine/include/soc-family.inc
diff --git a/conf/machine/include/soc-family.inc b/conf/machine/include/soc-family.inc
new file mode 100644
index 00000000..39ca338f
--- /dev/null
+++ b/conf/machine/include/soc-family.inc
@@ -0,0 +1,3 @@
1# Add SOC_FAMILY to machine overrides so we get access to e.g. 'omap3' and 'ti335x'
2MACHINEOVERRIDES .= "${@['', ':${SOC_FAMILY}']['${SOC_FAMILY}' != '']}"
3
diff --git a/conf/machine/include/ti33x.inc b/conf/machine/include/ti33x.inc
index f9d8f7a7..550363dd 100644
--- a/conf/machine/include/ti33x.inc
+++ b/conf/machine/include/ti33x.inc
@@ -1,4 +1,5 @@
1SOC_FAMILY = "ti33x" 1SOC_FAMILY = "ti33x"
2require conf/machine/include/soc-family.inc
2 3
3require conf/machine/include/tune-cortexa8.inc 4require conf/machine/include/tune-cortexa8.inc
4PREFERRED_PROVIDER_virtual/kernel = "linux-ti33x-psp" 5PREFERRED_PROVIDER_virtual/kernel = "linux-ti33x-psp"
diff --git a/conf/machine/include/ti814x.inc b/conf/machine/include/ti814x.inc
index 23b6a1d7..c53557f4 100644
--- a/conf/machine/include/ti814x.inc
+++ b/conf/machine/include/ti814x.inc
@@ -1,4 +1,5 @@
1SOC_FAMILY = "ti814x" 1SOC_FAMILY = "ti814x"
2require conf/machine/include/soc-family.inc
2 3
3require conf/machine/include/tune-cortexa8.inc 4require conf/machine/include/tune-cortexa8.inc
4 5
diff --git a/conf/machine/include/ti816x.inc b/conf/machine/include/ti816x.inc
index 06cb7c0e..2fe40067 100644
--- a/conf/machine/include/ti816x.inc
+++ b/conf/machine/include/ti816x.inc
@@ -1,4 +1,5 @@
1SOC_FAMILY = "ti816x" 1SOC_FAMILY = "ti816x"
2require conf/machine/include/soc-family.inc
2 3
3require conf/machine/include/tune-cortexa8.inc 4require conf/machine/include/tune-cortexa8.inc
4 5