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