core/pkg-kernel-module: ensure linux supports modules
authorYann E. MORIN <yann.morin.1998@free.fr>
Thu, 3 Sep 2015 12:54:19 +0000 (14:54 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 4 Sep 2015 11:13:52 +0000 (13:13 +0200)
commitb7c32c98bc810b88e0391117f225658f82b44995
tree00cfa6903c17b39cd24480726183bb59594ca8cc
parentf07da1a5987d881f7133d664776d3cb8a85cc570
core/pkg-kernel-module: ensure linux supports modules

When a package wants to build a kernel module, we should ensure that the
kernel does support modules.

This patch does it automatically for packages using the kernel-module
infrastructure.

Packages that do not use it will have to set it manually (to be done in
a followup patch).

Suggested-by: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: NoƩ Rubinstein <noe.rubinstein@gmail.com>
Cc: Jan Viktorin <viktorin@rehivetech.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
linux/linux.mk
package/pkg-kernel-module.mk