mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-31 15:07:43 +00:00
package/nvidia-driver: require kernel modules from Kconfig
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
e7aa4b269e
commit
e93381aac7
@ -76,6 +76,7 @@ comment "nvidia kernel module needs a kernel to be built"
|
|||||||
config BR2_PACKAGE_NVIDIA_DRIVER_MODULE
|
config BR2_PACKAGE_NVIDIA_DRIVER_MODULE
|
||||||
bool "nvidia kernel module"
|
bool "nvidia kernel module"
|
||||||
depends on BR2_LINUX_KERNEL
|
depends on BR2_LINUX_KERNEL
|
||||||
|
select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra
|
||||||
help
|
help
|
||||||
Build the nvidia.ko kernel module.
|
Build the nvidia.ko kernel module.
|
||||||
|
|
||||||
|
@ -91,10 +91,6 @@ ifeq ($(BR2_PACKAGE_NVIDIA_DRIVER_MODULE),y)
|
|||||||
|
|
||||||
NVIDIA_DRIVER_DEPENDENCIES += linux
|
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
|
# NVidia uses the legacy naming scheme for the x86 architecture, when i386
|
||||||
# and x86_64 were still considered two separate architectures in the Linux
|
# and x86_64 were still considered two separate architectures in the Linux
|
||||||
# kernel.
|
# kernel.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user