2016-02-14 12:01:40 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# nvme
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-07-17 22:19:45 +02:00
|
|
|
NVME_VERSION = v1.3
|
2016-02-14 12:01:40 +01:00
|
|
|
NVME_SITE = $(call github,linux-nvme,nvme-cli,$(NVME_VERSION))
|
2017-03-30 15:43:32 +02:00
|
|
|
NVME_LICENSE = GPL-2.0+
|
2016-03-02 23:46:42 +01:00
|
|
|
NVME_LICENSE_FILES = LICENSE
|
2016-02-14 12:01:40 +01:00
|
|
|
|
|
|
|
define NVME_BUILD_CMDS
|
2017-08-09 08:59:10 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
2016-02-14 12:01:40 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define NVME_INSTALL_TARGET_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) \
|
|
|
|
PREFIX=/usr install-bin
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|