core/pkg-kernel-module: drop now-useless check for CONFIG_MODULES
authorYann E. MORIN <yann.morin.1998@free.fr>
Thu, 3 Sep 2015 12:54:20 +0000 (14:54 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 4 Sep 2015 11:16:42 +0000 (13:16 +0200)
commit2e95747ab9b6b0bf97007ce2733321c90462249a
tree17efeb8d6fda5dc36a11c3633351b4c07e8db06b
parentb7c32c98bc810b88e0391117f225658f82b44995
core/pkg-kernel-module: drop now-useless check for CONFIG_MODULES

This reverts commit 8df95d9 (pkg-kernel-module: die if kernel module
support is disabled).

Now that we force-enable support for modules in the kernel config, we
need not check it.

Besides, the check was broken, because it did not use $$ to dereference
LINUX_DIR, thus leading to systematic build failures when a package
using the kernel-module infra was enabled.

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>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pkg-kernel-module.mk