xref: /OK3568_Linux_fs/yocto/poky/meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Example of how to build an external Linux kernel module"
2*4882a593SmuzhiyunDESCRIPTION = "${SUMMARY}"
3*4882a593SmuzhiyunLICENSE = "GPL-2.0-only"
4*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
5*4882a593Smuzhiyun
6*4882a593Smuzhiyuninherit module
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunSRC_URI = "file://Makefile \
9*4882a593Smuzhiyun           file://hello.c \
10*4882a593Smuzhiyun           file://COPYING \
11*4882a593Smuzhiyun          "
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunS = "${WORKDIR}"
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun# The inherit of module.bbclass will automatically name module packages with
16*4882a593Smuzhiyun# "kernel-module-" prefix as required by the oe-core build environment.
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunRPROVIDES:${PN} += "kernel-module-hello"
19