Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH V4] nvme: new package
@ 2016-01-14 11:12 Mamatha Inamdar
  2016-01-16 13:13 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Mamatha Inamdar @ 2016-01-14 11:12 UTC (permalink / raw)
  To: buildroot

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>
---
 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

diff --git a/package/Config.in b/package/Config.in
index e0c2e2a..4d173d4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/nvme/Config.in b/package/nvme/Config.in
new file mode 100755
index 0000000..a3c8ada
--- /dev/null
+++ b/package/nvme/Config.in
@@ -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
diff --git a/package/nvme/nvme.hash b/package/nvme/nvme.hash
new file mode 100644
index 0000000..539a2b6
--- /dev/null
+++ b/package/nvme/nvme.hash
@@ -0,0 +1,2 @@
+# Locally computed:
+sha256  914319930a51372293c981562b165ae6af0de70f7da37e42da23940fe23aa387 nvme-v0.2.tar.gz
diff --git a/package/nvme/nvme.mk b/package/nvme/nvme.mk
new file mode 100755
index 0000000..a3c8dff
--- /dev/null
+++ b/package/nvme/nvme.mk
@@ -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))

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH V4] nvme: new package
  2016-01-14 11:12 [Buildroot] [PATCH V4] nvme: new package Mamatha Inamdar
@ 2016-01-16 13:13 ` Thomas Petazzoni
  2016-01-18  7:27   ` Mamatha Inamdar
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2016-01-16 13:13 UTC (permalink / raw)
  To: buildroot

Dear Mamatha Inamdar,

On Thu, 14 Jan 2016 16:42:40 +0530, Mamatha Inamdar wrote:
> 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>
> ---
>  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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH V4] nvme: new package
  2016-01-16 13:13 ` Thomas Petazzoni
@ 2016-01-18  7:27   ` Mamatha Inamdar
  0 siblings, 0 replies; 3+ messages in thread
From: Mamatha Inamdar @ 2016-01-18  7:27 UTC (permalink / raw)
  To: buildroot



On 01/16/2016 06:43 PM, Thomas Petazzoni wrote:
> Dear Mamatha Inamdar,
>
> On Thu, 14 Jan 2016 16:42:40 +0530, Mamatha Inamdar wrote:
>> 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>
>> ---
>>   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.

for me patch applied without any errors...let me send it again...
>
> 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
>
> Best regards,
>
> Thomas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-18  7:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-14 11:12 [Buildroot] [PATCH V4] nvme: new package Mamatha Inamdar
2016-01-16 13:13 ` Thomas Petazzoni
2016-01-18  7:27   ` Mamatha Inamdar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox