diff options
| author | Nathan Rossi <nathan.rossi@xilinx.com> | 2013-05-31 11:23:01 +1000 |
|---|---|---|
| committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2013-05-31 11:25:16 +1000 |
| commit | f0ee9520b066b1ffec5cf642d736e1b47bc328ae (patch) | |
| tree | a9058f20188f59a7d01d70d90bd2443461bfa3e6 | |
| parent | 83c6d83a877b29142b43fe2a402becd905251e5f (diff) | |
| download | meta-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.inc | 1 | ||||
| -rw-r--r-- | conf/machine/include/tune-zynq.inc | 1 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-xlnx.inc | 1 |
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" | |||
| 2 | SOC_FAMILY ?= "microblaze" | 2 | SOC_FAMILY ?= "microblaze" |
| 3 | 3 | ||
| 4 | require conf/machine/include/tune-microblaze-features.inc | 4 | require conf/machine/include/tune-microblaze-features.inc |
| 5 | require conf/machine/include/soc-family.inc | ||
| 5 | 6 | ||
| 6 | TUNEVALID[microblaze] = "Microblaze" | 7 | TUNEVALID[microblaze] = "Microblaze" |
| 7 | AVAILTUNES += "microblaze" | 8 | AVAILTUNES += "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" | |||
| 2 | SOC_FAMILY ?= "zynq" | 2 | SOC_FAMILY ?= "zynq" |
| 3 | 3 | ||
| 4 | require conf/machine/include/tune-cortexa9.inc | 4 | require conf/machine/include/tune-cortexa9.inc |
| 5 | require conf/machine/include/soc-family.inc | ||
| 5 | 6 | ||
| 6 | TUNEVALID[zynq] = "Zynq" | 7 | TUNEVALID[zynq] = "Zynq" |
| 7 | AVAILTUNES += "zynq" | 8 | AVAILTUNES += "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 | |||
| 4 | LINUX_VERSION_EXTENSION ?= "-xilinx" | 4 | LINUX_VERSION_EXTENSION ?= "-xilinx" |
| 5 | 5 | ||
| 6 | require recipes-kernel/linux/linux-yocto.inc | 6 | require recipes-kernel/linux/linux-yocto.inc |
| 7 | require 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' |
| 10 | DEPENDS_append_microblaze += "u-boot-mkimage-native" | 9 | DEPENDS_append_microblaze += "u-boot-mkimage-native" |
