diff options
| author | Philip Balister <philip@balister.org> | 2013-08-16 14:18:03 -0400 |
|---|---|---|
| committer | Sipke Vriend <sipke.vriend@xilinx.com> | 2013-08-21 12:09:25 +1000 |
| commit | a7734834ec7574cfc0ba99323bb037715e4ed4db (patch) | |
| tree | 8028537fbbbae71fd0a2a450ca1580bf5fd8d3da /recipes-kernel | |
| parent | ad5139ef91c7a1f4a32261238426f8661eb57871 (diff) | |
| download | meta-xilinx-a7734834ec7574cfc0ba99323bb037715e4ed4db.tar.gz | |
linux : Use overrides to prevent global application of SRC_URI_appends.
Limt the scope of the SRC_URI additions to the machine/soc they apply to. If
this layer is used with other BSP's, the patches may cause problem with
other linux-yocto bbappends.
Signed-off-by: Philip Balister <philip@balister.org>
Diffstat (limited to 'recipes-kernel')
| -rw-r--r-- | recipes-kernel/linux/linux-xlnx_3.8.bb | 2 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-yocto_3.8.bbappend | 13 |
2 files changed, 8 insertions, 7 deletions
diff --git a/recipes-kernel/linux/linux-xlnx_3.8.bb b/recipes-kernel/linux/linux-xlnx_3.8.bb index 9310cd1b..ce54dc9b 100644 --- a/recipes-kernel/linux/linux-xlnx_3.8.bb +++ b/recipes-kernel/linux/linux-xlnx_3.8.bb | |||
| @@ -8,6 +8,6 @@ LINUX_VERSION = "3.8" | |||
| 8 | SRCREV = "6a0bedad60e2bca8d9b50bf81b9895e29e31a6d7" | 8 | SRCREV = "6a0bedad60e2bca8d9b50bf81b9895e29e31a6d7" |
| 9 | 9 | ||
| 10 | # MicroBlaze patches | 10 | # MicroBlaze patches |
| 11 | SRC_URI_append = " \ | 11 | SRC_URI_append_microblaze = " \ |
| 12 | file://microblaze-patches_v3.8.scc \ | 12 | file://microblaze-patches_v3.8.scc \ |
| 13 | " | 13 | " |
diff --git a/recipes-kernel/linux/linux-yocto_3.8.bbappend b/recipes-kernel/linux/linux-yocto_3.8.bbappend index 2e62239c..100fad14 100644 --- a/recipes-kernel/linux/linux-yocto_3.8.bbappend +++ b/recipes-kernel/linux/linux-yocto_3.8.bbappend | |||
| @@ -4,13 +4,14 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx:" | |||
| 4 | 4 | ||
| 5 | require linux-machine-common.inc | 5 | require linux-machine-common.inc |
| 6 | 6 | ||
| 7 | SRC_URI_append += " \ | 7 | SRC_URI_append_zynq = " file://xilinx-v14.5_modifications_to_v3.8.scc" |
| 8 | file://xilinx-v14.5_modifications_to_v3.8.scc \ | 8 | SRC_URI_append_zynq = " file://microblaze-patches_v3.8.scc" |
| 9 | file://microblaze-patches_v3.8.scc \ | 9 | SRC_URI_append_zynq = " file://zynq-default-standard.scc" |
| 10 | file://${KMACHINE}-standard.scc \ | 10 | SRC_URI_append_microblaze = " file://zynq-microblaze-standard.scc" |
| 11 | " | ||
| 12 | 11 | ||
| 13 | SRC_URI_append += "git://github.com/Xilinx/xilinx-kernel-cache;protocol=git;branch=master;type=kmeta;name=externalcache;destsuffix=external-cache/" | 12 | SRC_URI_append += "git://github.com/Xilinx/xilinx-kernel-cache;protocol=git;branch=master;type=kmeta;name=externalcache;destsuffix=external-cache/" |
| 14 | SRCREV_externalcache = "${AUTOREV}" | 13 | SRCREV_externalcache = "${AUTOREV}" |
| 15 | 14 | ||
| 16 | COMPATIBLE_MACHINE = "zynq|microblaze" | 15 | COMPATIBLE_MACHINE_zynq = "zynq" |
| 16 | COMPATIBLE_MACHINE_microblaze = "microblaze" | ||
| 17 | |||
