From: Yann E. MORIN Date: Thu, 10 Dec 2015 18:53:15 +0000 (+0100) Subject: package/nvidia-driver: require kernel modules from Kconfig X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e93381aac77b7482794d0acd2b3e3563b0f40354;p=buildroot.git package/nvidia-driver: require kernel modules from Kconfig Signed-off-by: "Yann E. MORIN" Cc: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- diff --git a/package/nvidia-driver/Config.in b/package/nvidia-driver/Config.in index b50e2c353a..30763c5a63 100644 --- a/package/nvidia-driver/Config.in +++ b/package/nvidia-driver/Config.in @@ -76,6 +76,7 @@ comment "nvidia kernel module needs a kernel to be built" config BR2_PACKAGE_NVIDIA_DRIVER_MODULE bool "nvidia kernel module" depends on BR2_LINUX_KERNEL + select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra help Build the nvidia.ko kernel module. diff --git a/package/nvidia-driver/nvidia-driver.mk b/package/nvidia-driver/nvidia-driver.mk index a021ab875b..7eef73b0fd 100644 --- a/package/nvidia-driver/nvidia-driver.mk +++ b/package/nvidia-driver/nvidia-driver.mk @@ -91,10 +91,6 @@ ifeq ($(BR2_PACKAGE_NVIDIA_DRIVER_MODULE),y) NVIDIA_DRIVER_DEPENDENCIES += linux -# We're building a kernel module without using the kernel-module infra, -# so we need to tell we want module support in the kernel -LINUX_NEEDS_MODULES = y - # NVidia uses the legacy naming scheme for the x86 architecture, when i386 # and x86_64 were still considered two separate architectures in the Linux # kernel.