summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2013-08-16 14:18:03 -0400
committerSipke Vriend <sipke.vriend@xilinx.com>2013-08-21 12:09:25 +1000
commita7734834ec7574cfc0ba99323bb037715e4ed4db (patch)
tree8028537fbbbae71fd0a2a450ca1580bf5fd8d3da /recipes-kernel
parentad5139ef91c7a1f4a32261238426f8661eb57871 (diff)
downloadmeta-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.bb2
-rw-r--r--recipes-kernel/linux/linux-yocto_3.8.bbappend13
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"
8SRCREV = "6a0bedad60e2bca8d9b50bf81b9895e29e31a6d7" 8SRCREV = "6a0bedad60e2bca8d9b50bf81b9895e29e31a6d7"
9 9
10# MicroBlaze patches 10# MicroBlaze patches
11SRC_URI_append = " \ 11SRC_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
5require linux-machine-common.inc 5require linux-machine-common.inc
6 6
7SRC_URI_append += " \ 7SRC_URI_append_zynq = " file://xilinx-v14.5_modifications_to_v3.8.scc"
8 file://xilinx-v14.5_modifications_to_v3.8.scc \ 8SRC_URI_append_zynq = " file://microblaze-patches_v3.8.scc"
9 file://microblaze-patches_v3.8.scc \ 9SRC_URI_append_zynq = " file://zynq-default-standard.scc"
10 file://${KMACHINE}-standard.scc \ 10SRC_URI_append_microblaze = " file://zynq-microblaze-standard.scc"
11 "
12 11
13SRC_URI_append += "git://github.com/Xilinx/xilinx-kernel-cache;protocol=git;branch=master;type=kmeta;name=externalcache;destsuffix=external-cache/" 12SRC_URI_append += "git://github.com/Xilinx/xilinx-kernel-cache;protocol=git;branch=master;type=kmeta;name=externalcache;destsuffix=external-cache/"
14SRCREV_externalcache = "${AUTOREV}" 13SRCREV_externalcache = "${AUTOREV}"
15 14
16COMPATIBLE_MACHINE = "zynq|microblaze" 15COMPATIBLE_MACHINE_zynq = "zynq"
16COMPATIBLE_MACHINE_microblaze = "microblaze"
17