summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-bsc913x.bb
blob: 0840625344b7a403e4b0a2ef2736e6aa537ab3ce (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
inherit kernel
require recipes-kernel/linux/linux-dtb.inc

DESCRIPTION = "Linux kernel headers for Freescale platforms"
SECTION = "kernel"
LICENSE = "GPLv2"

# For bsc913x kernel, the defconfig is included locally
KERNEL_DEFCONFIG="${WORKDIR}/defconfig"

KERNEL_FEATURES="cfg/00013-localversion \
                 cfg/00006-with_modules \
                 cfg/00001-embedded \
                 cfg/00002-root_nfs \
                 cfg/00029-devtmpfs \
                 cfg/00021-bootlogd \
                 cfg/00022-mtd_tests \
                 "

STAGING_KERNEL_FEATURES = "${KERNEL_FEATURES} cfg/00020-debug"

STAGING_KERNEL_FEATURES_append = " \
    cfg/00033-kprobes \
    cfg/00007-oprofile \
    cfg/00019-i2c \
    "

require recipes-kernel/linux/linux-bsc913x.inc
require recipes-kernel/linux/staging-kernel.inc
require recipes-kernel/linux/pramfs-2.6.33.inc

# For linx-mod built
kernel_do_install_append() {
        cp -fR ${S}/include/generated/* ${D}/usr/src/kernel/include/generated
}