Skip to contentSkip to conversation

nvme: new package

PATCH Superseded Mamatha Inamdar 2 participants 3 messages Jan 14, 2016 – Jan 18, 2016

v4 of 9 Superseded Latest is v9 →

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 nvme: new package

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

---
 package/Config.in      |    1 +
 package/nvme/Config.in |    6 ++++++
 package/nvme/nvme.hash |    2 ++
 package/nvme/nvme.mk   |   23 +++++++++++++++++++++++
 4 files changed, 32 insertions(+)
 create mode 100755 package/nvme/Config.in
 create mode 100644 package/nvme/nvme.hash
 create mode 100755 package/nvme/nvme.mk
package/Config.in +1 -0
index e0c2e2a..4d173d4 100644
@@ -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 +6 -0
new file mode 100755
index 0000000..a3c8ada
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_NVME
+	bool "nvme"
+	help
+	  System utilities for standard NVME Express devices
+
+	  https://github.com/linux-nvme/nvme-cli
package/nvme/nvme.hash new file +2 -0
new file mode 100644
index 0000000..539a2b6
@@ -0,0 +1,2 @@
+# Locally computed:
+sha256  914319930a51372293c981562b165ae6af0de70f7da37e42da23940fe23aa387 nvme-v0.2.tar.gz
package/nvme/nvme.mk new file +22 -0
new file mode 100755
index 0000000..a3c8dff
@@ -0,0 +1,23 @@
+################################################################################
+#
+# nvme
+#
+################################################################################
+
+NVME_VERSION = v0.2
+NVME_SITE = $(call github,linux-nvme,nvme-cli,$(NVME_VERSION))
+NVME_LICENSE = GPLv2+
+NVME_LICENSE_FILES = COPYING
+
+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))
#1 lore raw

PATCH v4 1/1 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.

Quoted 9 lines
---
 package/Config.in      |    1 +
 package/nvme/Config.in |    6 ++++++
 package/nvme/nvme.hash |    2 ++
 package/nvme/nvme.mk   |   23 +++++++++++++++++++++++
 4 files changed, 32 insertions(+)
 create mode 100755 package/nvme/Config.in
 create mode 100644 package/nvme/nvme.hash
 create mode 100755 package/nvme/nvme.mk

Your patch does not apply:

Applying patch #567318 using 'git am -s -3'
Description: [V4] nvme: new package
Applying: nvme: new package
fatal: corrupt patch at line 72
error: could not build fake ancestor
Patch failed at 0001 nvme: new package
The copy of the patch that failed is found in: .git/rebase-apply/patch When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort".

Please make sure to use "git send-email" to submit your patch.

Also, you haven't included a patch that removes -Werror. Are you sure the package builds properly? It wasn't building properly for me without a patch removing -Werror.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH v4 1/1 nvme: new package

Quoted 29 lines · Thomas Petazzoni

Dear Mamatha Inamdar,

Quoted 10 lines · Mamatha Inamdar

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

---
  package/Config.in      |    1 +
  package/nvme/Config.in |    6 ++++++
  package/nvme/nvme.hash |    2 ++
  package/nvme/nvme.mk   |   23 +++++++++++++++++++++++
  4 files changed, 32 insertions(+)
Quoted 3 lines

create mode 100755 package/nvme/Config.in
create mode 100644 package/nvme/nvme.hash
create mode 100755 package/nvme/nvme.mk

Your patch does not apply:

Applying patch #567318 using 'git am -s -3'
Description: [V4] nvme: new package
Applying: nvme: new package
fatal: corrupt patch at line 72
error: could not build fake ancestor
Patch failed at 0001 nvme: new package
The copy of the patch that failed is found in: .git/rebase-apply/patch When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort".

Quoted 1 line

Please make sure to use "git send-email" to submit your patch.

for me patch applied without any errors...let me send it again...

Quoted 4 lines

Also, you haven't included a patch that removes -Werror. Are you sure the package builds properly? It wasn't building properly for me without a patch removing -Werror.

oh yes, I forgot to send this patch....will send it

Quoted 4 lines

Best regards,

Thomas