source "package/nanocom/Config.in"
source "package/neard/Config.in"
source "package/nvidia-driver/Config.in"
+ source "package/nvidia-modprobe/Config.in"
source "package/nvme/Config.in"
source "package/ofono/Config.in"
source "package/on2-8170-modules/Config.in"
--- /dev/null
+config BR2_PACKAGE_NVIDIA_MODPROBE
+ bool "nvidia-modprobe"
+ depends on BR2_USE_MMU # fork()
+ help
+ nvidia-modprobe package adds a utility and headers for
+ probing the NVIDIA hardware at runtime.
+
+ https://github.com/NVIDIA/nvidia-modprobe
--- /dev/null
+################################################################################
+#
+# nvidia-modprobe
+#
+################################################################################
+
+NVIDIA_MODPROBE_VERSION = 450.57
+NVIDIA_MODPROBE_SITE = $(call github,NVIDIA,nvidia-modprobe,$(NVIDIA_MODPROBE_VERSION))
+NVIDIA_MODPROBE_LICENSE = GPL-2.0
+NVIDIA_MODPROBE_LICENSE_FILES = COPYING
+
+define NVIDIA_MODPROBE_BUILD_CMDS
+ $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
+ OUTPUTDIR=. ./nvidia-modprobe.unstripped
+endef
+
+define NVIDIA_MODPROBE_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0755 $(@D)/nvidia-modprobe.unstripped \
+ $(TARGET_DIR)/usr/bin/nvidia-modprobe
+endef
+
+$(eval $(generic-package))