]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: create: add support for out-of-tree kernel modules
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 29 Feb 2016 11:48:24 +0000 (00:48 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Mar 2016 23:08:06 +0000 (23:08 +0000)
commita85604f2eb2438b4caf0832c2ea15b5822f7e9a1
tree32eea068af644e50184013065f24a360e6ff5ad9
parent8cb4ac49677b1eae4047fc1abbd728f093a24b72
recipetool: create: add support for out-of-tree kernel modules

Detect kernel modules by looking for #include <linux/module.h>, and
handle the various styles of Makefile that appear to be used. I was able
to use this code to successfully build a number of external kernel
modules I found.

Implements [YOCTO #8982].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/recipetool/create_kmod.py [new file with mode: 0644]