diff options
Diffstat (limited to 'recipes-kernel/linux/linux-xlnx.inc')
-rw-r--r-- | recipes-kernel/linux/linux-xlnx.inc | 39 |
1 files changed, 5 insertions, 34 deletions
diff --git a/recipes-kernel/linux/linux-xlnx.inc b/recipes-kernel/linux/linux-xlnx.inc index 7b2319be..3528edaf 100644 --- a/recipes-kernel/linux/linux-xlnx.inc +++ b/recipes-kernel/linux/linux-xlnx.inc | |||
@@ -1,48 +1,19 @@ | |||
1 | # | ||
2 | # To use linux-xlnx in your layer, create a | ||
3 | # linux-yocto-xlnx.bbappend file containing at least the following | ||
4 | # lines: | ||
5 | # | ||
6 | # FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
7 | # COMPATIBLE_MACHINE_yourmachine = "yourmachine" | ||
8 | # | ||
9 | # You must also provide a Linux kernel configuration. The most direct | ||
10 | # method is to copy your .config to files/defconfig in your layer, | ||
11 | # in the same directory as the bbappend and add file://defconfig to | ||
12 | # your SRC_URI. | ||
13 | # | ||
14 | # | ||
15 | # Notes: | ||
16 | # | ||
17 | # patches: patches can be merged into to the source git tree itself, | ||
18 | # added via the SRC_URI, or controlled via a BSP | ||
19 | # configuration. | ||
20 | # | ||
21 | # example configuration addition: | ||
22 | # SRC_URI += "file://smp.cfg" | ||
23 | # example patch addition (for kernel v3.4 only): | ||
24 | # SRC_URI += "file://0001-linux-version-tweak.patch | ||
25 | # example feature addition (for kernel v3.4 only): | ||
26 | # SRC_URI += "file://feature.scc" | ||
27 | # | ||
28 | |||
29 | inherit kernel | 1 | inherit kernel |
30 | 2 | ||
31 | # This version extension should match CONFIG_LOCALVERSION in defconfig | 3 | # This version extension should match CONFIG_LOCALVERSION in defconfig |
32 | LINUX_VERSION_EXTENSION ?= "-xilinx" | 4 | LINUX_VERSION_EXTENSION ?= "-xilinx" |
33 | 5 | ||
34 | require recipes-kernel/linux/linux-yocto.inc | 6 | require recipes-kernel/linux/linux-yocto.inc |
7 | require conf/machine/include/soc-family.inc | ||
35 | 8 | ||
36 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx:" | 9 | # MicroBlaze is a uImage target, but its not called 'uImage' |
10 | DEPENDS_microblaze += "u-boot-mkimage-native" | ||
37 | 11 | ||
38 | # Override SRC_URI in a bbappend file to point at a different source | 12 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx:" |
39 | # tree if you do not want to build from Linus' tree. | ||
40 | SRC_URI = "git://github.com/Xilinx/linux-xlnx;protocol=git;nocheckout=1" | 13 | SRC_URI = "git://github.com/Xilinx/linux-xlnx;protocol=git;nocheckout=1" |
41 | 14 | ||
42 | PR = "r1" | 15 | PR = "r1" |
43 | PV = "${LINUX_VERSION}${LINUX_VERSION_EXTENSION}+git${SRCPV}" | 16 | PV = "${LINUX_VERSION}${LINUX_VERSION_EXTENSION}+git${SRCPV}" |
44 | 17 | ||
45 | # Override COMPATIBLE_MACHINE to include your machine in a bbappend | 18 | # Override COMPATIBLE_MACHINE to include your machine in a bbappend file. |
46 | # file. | ||
47 | COMPATIBLE_MACHINE = "zynq|microblazeel" | 19 | COMPATIBLE_MACHINE = "zynq|microblazeel" |
48 | |||