diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2012-03-03 11:53:06 +0100 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2012-03-04 00:32:39 -0500 |
commit | 0d4418518a05b8f47697aa69a18a832d90eb8d87 (patch) | |
tree | f5ab30ccba03c47b4c0c0b45c6c8e036aceb4ffb /conf/machine/include | |
parent | 020b6f893d13e36bccd7a2d8e6a0e6ab5e602450 (diff) | |
download | meta-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>
Diffstat (limited to 'conf/machine/include')
-rw-r--r-- | conf/machine/include/omap3.inc | 1 | ||||
-rw-r--r-- | conf/machine/include/omap4.inc | 1 | ||||
-rw-r--r-- | conf/machine/include/omapl138.inc | 1 | ||||
-rw-r--r-- | conf/machine/include/soc-family.inc | 3 | ||||
-rw-r--r-- | conf/machine/include/ti33x.inc | 1 | ||||
-rw-r--r-- | conf/machine/include/ti814x.inc | 1 | ||||
-rw-r--r-- | conf/machine/include/ti816x.inc | 1 |
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 @@ | |||
1 | SOC_FAMILY = "omap3" | 1 | SOC_FAMILY = "omap3" |
2 | require conf/machine/include/soc-family.inc | ||
2 | 3 | ||
3 | require conf/machine/include/tune-cortexa8.inc | 4 | require conf/machine/include/tune-cortexa8.inc |
4 | PREFERRED_PROVIDER_virtual/kernel = "linux-omap" | 5 | PREFERRED_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 @@ | |||
1 | SOC_FAMILY = "omap4" | 1 | SOC_FAMILY = "omap4" |
2 | require conf/machine/include/soc-family.inc | ||
2 | 3 | ||
3 | require conf/machine/include/tune-cortexa8.inc | 4 | require 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 @@ | |||
1 | SOC_FAMILY = "omapl138" | 1 | SOC_FAMILY = "omapl138" |
2 | require 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' | ||
2 | MACHINEOVERRIDES .= "${@['', ':${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 @@ | |||
1 | SOC_FAMILY = "ti33x" | 1 | SOC_FAMILY = "ti33x" |
2 | require conf/machine/include/soc-family.inc | ||
2 | 3 | ||
3 | require conf/machine/include/tune-cortexa8.inc | 4 | require conf/machine/include/tune-cortexa8.inc |
4 | PREFERRED_PROVIDER_virtual/kernel = "linux-ti33x-psp" | 5 | PREFERRED_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 @@ | |||
1 | SOC_FAMILY = "ti814x" | 1 | SOC_FAMILY = "ti814x" |
2 | require conf/machine/include/soc-family.inc | ||
2 | 3 | ||
3 | require conf/machine/include/tune-cortexa8.inc | 4 | require 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 @@ | |||
1 | SOC_FAMILY = "ti816x" | 1 | SOC_FAMILY = "ti816x" |
2 | require conf/machine/include/soc-family.inc | ||
2 | 3 | ||
3 | require conf/machine/include/tune-cortexa8.inc | 4 | require conf/machine/include/tune-cortexa8.inc |
4 | 5 | ||