kumquat-buildroot/package/nvidia-modprobe/nvidia-modprobe.mk
Christian Stewart 83aaf5106e package/nvidia-modprobe: new package
nvidia-modprobe package adds a utility and headers for probing the NVIDIA
hardware at runtime.

https://github.com/NVIDIA/nvidia-modprobe

Signed-off-by: Christian Stewart <christian@paral.in>
[Arnout:
 - use upstream Makefile instead of building directly;
 - don't install to staging;
 - remove dependency on host-pkgconf;
 - correct license to GPL-2.0;
 - remove dependency on threads and glibc;
 - add dependency on MMU.]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-01-12 00:17:50 +01:00

23 lines
701 B
Makefile

################################################################################
#
# 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))