Files
operating-system/buildroot/package/nvidia-modprobe/nvidia-modprobe.mk
Stefan Agner f358f322da Bump Buildroot to 2021.02-rc3 (#1260)
* Rebase patches to Buildroot 2021.02-rc3

* Update Buildroot to 2021.02-rc3

* Declare Kernel headers to be Linux version 5.10 (since they are, and new Buildroot knows about 5.10)
2021-03-04 00:50:33 +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))