package/nvme: new package

Add support for building NVME utility - a utility for interacting with
standard NVM Express (optimized PCI Express SSD interface) devices.

Signed-off-by: Mamatha Inamdar <mamatha4@linux.vnet.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Mamatha Inamdar 2016-02-14 16:31:40 +05:30 committed by Thomas Petazzoni
parent b14f8ebab3
commit 3ad518b61d
4 changed files with 33 additions and 0 deletions

View File

@ -407,6 +407,7 @@ endif
source "package/neard/Config.in"
source "package/nvidia-driver/Config.in"
source "package/nvidia-tegra23/Config.in"
source "package/nvme/Config.in"
source "package/ofono/Config.in"
source "package/ola/Config.in"
source "package/on2-8170-modules/Config.in"

7
package/nvme/Config.in Normal file
View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_NVME
bool "nvme"
help
NVME utility, a utility for interacting with standard NVM
Express (optimized PCI Express SSD interface) devices.
https://github.com/linux-nvme/nvme-cli

2
package/nvme/nvme.hash Normal file
View File

@ -0,0 +1,2 @@
# Locally computed:
sha256 c631e90dd4d411cdb618b26bc36b06706e6f1f2d3db38874bcfe48f4bc15aac4 nvme-v0.3.tar.gz

23
package/nvme/nvme.mk Executable file
View File

@ -0,0 +1,23 @@
################################################################################
#
# nvme
#
################################################################################
NVME_VERSION = v0.3
NVME_SITE = $(call github,linux-nvme,nvme-cli,$(NVME_VERSION))
NVME_LICENSE = GPLv2+
NVME_LICENSE_FILES = COPYING
# LIBUDEV=1 means that libudev is _disabled_
define NVME_BUILD_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \
LIBUDEV=1 -C $(@D)
endef
define NVME_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) \
PREFIX=/usr install-bin
endef
$(eval $(generic-package))