summaryrefslogtreecommitdiffstats
path: root/meta-aspeed/recipes-kernel/linux/linux-aspeed.inc
blob: 5e28e767f83eb607720bc29d6c8051c41890fa6f (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

DESCRIPTION = "Linux Kernel for Aspeed"
SECTION = "kernel"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"

COMPATIBLE_MACHINE = "aspeed"

do_compile[depends] = "libgcc:do_populate_sysroot"

inherit kernel

# auto load the following modules
KERNEL_MODULE_AUTOLOAD += "                     \
 adm1275                                        \
 ads7828                                        \
 at24                                           \
 fb_panther_plus                                \
 max127                                         \
 pcf8574                                        \
 pfe1100                                        \
 pmbus_core                                     \
 tun                                            \
"

KERNEL_MODULE_PROBECONF += "                    \
 max127                                         \
"
module_conf_max127 = "options max127 scaling=24414"

# Do not install kernel in rootfs
do_install[postfuncs] += "remove_kernel_image_from_rootfs"
remove_kernel_image_from_rootfs() {
    rm -rf ${D}/boot/uImage*
}
pkg_postinst_kernel-image() {
}
OpenPOWER on IntegriCloud