aboutsummaryrefslogtreecommitdiffstats
path: root/meta-eca/recipes-kernel/linux/linux-raspberrypi_4.1.bb
blob: 019fe981c78fd15b90408642958c457a7f4e2d47 (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
LINUX_VERSION ?= "4.1.0"

SRCREV = "0dd4dae3071d135836946ab1b990061c0899e9b5"
SRC_URI = "\
     git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.1.y \
     file://0001-bcm2835-Added-spi0-for-OpenLabs-802.15.4-chip-in-rpi.patch \
     file://0002-bcm2835-Added-spi0-for-OpenLabs-802.15.4-chip-in-rpi.patch \
     file://0001-bcm2708-Added-spi0-for-OpenLabs-802.15.4-chip.patch \
     file://0002-bcm2709-Added-spi0-for-OpenLabs-802.15.4-chip.patch \
     file://wpan.cfg \
"

do_kernel_configme_append() {
	# wpan.cfg does not seem to go into .config, so append wpan.cfg into
	# defconfig instead. This is probably not the right way to do it thou.
	cat ${WORKDIR}/wpan.cfg >> ${WORKDIR}/defconfig
}

do_install_prepend() {
	if [ -n "${KERNEL_DEVICETREE}" ]; then
		mkdir -p ${B}/arch/${ARCH}/boot/dts/overlays
	fi
}

# The linux-raspberrypi.inc file is found in meta-raspberrypi layer
# which is here git://git.yoctoproject.org/meta-raspberrypi
require recipes-kernel/linux/linux-raspberrypi.inc