package/nvme: new package
PATCH v9 1/1 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 <[email protected]>
--- package/Config.in | 1 + package/nvme/Config.in | 8 ++++++++ package/nvme/nvme.hash | 2 ++ package/nvme/nvme.mk | 23 +++++++++++++++++++++++ 4 files changed, 34 insertions(+) create mode 100644 package/nvme/Config.in create mode 100644 package/nvme/nvme.hash create mode 100755 package/nvme/nvme.mk
package/Config.in +1 -0
@@ -380,6 +380,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"
package/nvme/Config.in new file +8 -0
@@ -0,0 +1,8 @@ +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
package/nvme/nvme.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally computed: +sha256 c631e90dd4d411cdb618b26bc36b06706e6f1f2d3db38874bcfe48f4bc15aac4 nvme-v0.3.tar.gz
package/nvme/nvme.mk new file +23 -0
@@ -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))
Thomas Petazzoni
AppliedPATCH v9 1/1 package/nvme: new package
Dear Mamatha Inamdar,
Quoted 4 lines · Mamatha Inamdar
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 <[email protected]>
Thanks, applied to the next branch! I only fixed two minor things:
* The author of the patch was just "Mamatha", which I changed to "Mamatha Inamdar"
* I rewrapped the Config.in help text, the lines were too short.
Thanks a lot!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com