summaryrefslogtreecommitdiff
path: root/multitech/recipes/linux/linux_2.6.39.4.bb
blob: 8efa26e4101c1155b9dd571d5fafb3f344806254 (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
require recipes/linux/linux.inc

# PR is set by MACHINE_KERNEL_PR in machine config

SRC_URI = " \
    ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2;name=kernel \
    "

SRC_URI_append_mt100eocg-pcie-dk = "file://defconfig \
                            file://linux-2.6.39.4-at91sam9260-reset.patch \
                            file://linux-2.6.39.4-mach-at91-mt100eocg-pcie-dk.patch \
                            file://linux-2.6.35.14-at91-gpio-pullup.patch \
                            file://linux-2.6.32.3-atmel_spi.patch \
                            file://linux-2.6.32.3-at25.patch \
                            file://linux-2.6.35.14-option-zte.patch \
                            file://linux-2.6.38-sierra-1.7.40.patch \
                            file://linux-2.6.32.3-option-telit.patch \
                            file://linux-2.6.39.4-mmc-core-maxclock.patch \
                            file://linux-2.6.39.4-at91-mci-clock-debug.patch \
                            file://linux-2.6.39.4-at91-mci-force-detect.patch \
                            file://linux-2.6.39.4-at91-mci-remove-module-alias.patch \
                            "

SRC_URI[kernel.md5sum] = "a17c748c2070168f1e784e9605ca043d"
SRC_URI[kernel.sha256sum] = "d26e44eedbb4bf63f84754bd21640c5d4fee9010320781a5b66c7d2106941183"

# prevent setlocalversion from changing kernel version
do_configure_prepend() {
    touch ${S}/.scmversion
}

# add missing crypto headers
sysroot_stage_all_append() {
    kerneldir=${SYSROOT_DESTDIR}${STAGING_KERNEL_DIR}
    cp -fR include/crypto* $kerneldir/include/
}