]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: ignore incidental kernel module source
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 20 Sep 2017 04:43:33 +0000 (16:43 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Nov 2017 14:44:31 +0000 (14:44 +0000)
commitc2b3154158d4bb0855daa56477393341139d4cf9
treebccd4d1e3e7c005323bba55b9b26d7abec90e323
parent949067384c5166058ebc76f931cc492dad1db645
recipetool: ignore incidental kernel module source

If the source tree happens to contain a kernel module as an example, a
test or under a "contrib" directory then we shouldn't be picking it up
and making the determination that the entire thing is a kernel module.

An example that triggered this is zstd, which ships a kernel module
under contrib/linux-kernel:

  https://github.com/facebook/zstd

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/recipetool/create.py
scripts/lib/recipetool/create_kmod.py