summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2013-05-31 11:23:01 +1000
committerNathan Rossi <nathan.rossi@xilinx.com>2013-05-31 11:25:16 +1000
commitf0ee9520b066b1ffec5cf642d736e1b47bc328ae (patch)
treea9058f20188f59a7d01d70d90bd2443461bfa3e6
parent83c6d83a877b29142b43fe2a402becd905251e5f (diff)
downloadmeta-xilinx-f0ee9520b066b1ffec5cf642d736e1b47bc328ae.tar.gz
Move include of 'soc-family.inc' into Tune definitions
* Resolves issues with linux-xlnx recipe when building with machines that are not using SOC_FAMILY features. Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
-rw-r--r--conf/machine/include/tune-microblaze.inc1
-rw-r--r--conf/machine/include/tune-zynq.inc1
-rw-r--r--recipes-kernel/linux/linux-xlnx.inc1
3 files changed, 2 insertions, 1 deletions
diff --git a/conf/machine/include/tune-microblaze.inc b/conf/machine/include/tune-microblaze.inc
index 4eee2670..c908bb46 100644
--- a/conf/machine/include/tune-microblaze.inc
+++ b/conf/machine/include/tune-microblaze.inc
@@ -2,6 +2,7 @@ DEFAULTTUNE ?= "microblaze"
2SOC_FAMILY ?= "microblaze" 2SOC_FAMILY ?= "microblaze"
3 3
4require conf/machine/include/tune-microblaze-features.inc 4require conf/machine/include/tune-microblaze-features.inc
5require conf/machine/include/soc-family.inc
5 6
6TUNEVALID[microblaze] = "Microblaze" 7TUNEVALID[microblaze] = "Microblaze"
7AVAILTUNES += "microblaze" 8AVAILTUNES += "microblaze"
diff --git a/conf/machine/include/tune-zynq.inc b/conf/machine/include/tune-zynq.inc
index a3054c64..368fe343 100644
--- a/conf/machine/include/tune-zynq.inc
+++ b/conf/machine/include/tune-zynq.inc
@@ -2,6 +2,7 @@ DEFAULTTUNE ?= "zynq"
2SOC_FAMILY ?= "zynq" 2SOC_FAMILY ?= "zynq"
3 3
4require conf/machine/include/tune-cortexa9.inc 4require conf/machine/include/tune-cortexa9.inc
5require conf/machine/include/soc-family.inc
5 6
6TUNEVALID[zynq] = "Zynq" 7TUNEVALID[zynq] = "Zynq"
7AVAILTUNES += "zynq" 8AVAILTUNES += "zynq"
diff --git a/recipes-kernel/linux/linux-xlnx.inc b/recipes-kernel/linux/linux-xlnx.inc
index 0f2a4cd9..230120ae 100644
--- a/recipes-kernel/linux/linux-xlnx.inc
+++ b/recipes-kernel/linux/linux-xlnx.inc
@@ -4,7 +4,6 @@ inherit kernel
4LINUX_VERSION_EXTENSION ?= "-xilinx" 4LINUX_VERSION_EXTENSION ?= "-xilinx"
5 5
6require recipes-kernel/linux/linux-yocto.inc 6require recipes-kernel/linux/linux-yocto.inc
7require conf/machine/include/soc-family.inc
8 7
9# MicroBlaze is a uImage target, but its not called 'uImage' 8# MicroBlaze is a uImage target, but its not called 'uImage'
10DEPENDS_append_microblaze += "u-boot-mkimage-native" 9DEPENDS_append_microblaze += "u-boot-mkimage-native"