diff options
author | Tian Fang <tfang@fb.com> | 2015-03-09 22:53:57 -0700 |
---|---|---|
committer | Tian Fang <tfang@fb.com> | 2015-03-09 22:53:57 -0700 |
commit | 2a51b7c1c2165ddb188c511e192b75f0aa0fbead (patch) | |
tree | bb42aeac00a8b986c325cd70d5cca6c13bc0c23a /meta-aspeed/recipes-kernel/linux/linux-aspeed.inc | |
download | ast2050-yocto-openbmc-2a51b7c1c2165ddb188c511e192b75f0aa0fbead.zip ast2050-yocto-openbmc-2a51b7c1c2165ddb188c511e192b75f0aa0fbead.tar.gz |
Initial open source release of OpenBMC
Diffstat (limited to 'meta-aspeed/recipes-kernel/linux/linux-aspeed.inc')
-rw-r--r-- | meta-aspeed/recipes-kernel/linux/linux-aspeed.inc | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-aspeed/recipes-kernel/linux/linux-aspeed.inc b/meta-aspeed/recipes-kernel/linux/linux-aspeed.inc new file mode 100644 index 0000000..a66c7e1 --- /dev/null +++ b/meta-aspeed/recipes-kernel/linux/linux-aspeed.inc @@ -0,0 +1,31 @@ + +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 +module_autoload_tun = "tun" +module_autoload_at24 = "at24" +module_autoload_ads7828 = "ads7828" +module_autoload_pcf8574 = "pcf8574" +module_autoload_max127 = "max127" +module_conf_max127 = "options max127 scaling=24414" +module_autoload_pmbus_core = "pmbus_core" +module_autoload_pfe1100 = "pfe1100" +module_autoload_fb_panther_plus = "fb_panther_plus" +module_autoload_adm1275 = "adm1275" + +# 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() { +} |