[Buildroot] [PATCH 1/3] host-xxd: new package

Ryan Barnett rjbarnet at rockwellcollins.com
Thu May 1 20:33:30 UTC 2014


Thomas,

Thomas De Schampheleire <patrickdepinguin at gmail.com> wrote on 05/01/2014 
02:56:37 PM:

> Hi Ryan,
> >diff --git a/package/xxd/Config.in.host b/package/xxd/Config.in.host
> >new file mode 100644
> >index 0000000..c2cddde
> >--- /dev/null
> >+++ b/package/xxd/Config.in.host
> >@@ -0,0 +1,6 @@
> >+config BR2_PACKAGE_XXD
> >+   bool "host xxd"
> >+   help
> >+     xxd creates a hex dump of a given file or standard input
> >+
> >+     http://linux.die.net/man/1/xxd
> 
> Normally we specify a project site here, no man page. Is there no such
> site available?

Yes that is correct. I could not find an official project website since 
this tool is public domain. The most useful site that I found for this 
package the man page.

Any other thoughts on what this should be?

> 
> >diff --git a/package/xxd/xxd.mk b/package/xxd/xxd.mk
> >new file mode 100644
> >index 0000000..a960f86
> >--- /dev/null
> >+++ b/package/xxd/xxd.mk
> >@@ -0,0 +1,20 @@
> >
> 
+################################################################################
> >+#
> >+# xxd
> >+#
> >
> 
+################################################################################
> >+
> >+XXD_VERSION = 1.10
> >+XXD_SITE    = http://grail.cba.csuohio.edu/~somos
> 
> Extra whitespace before = should be removed.

Will remove.
 
> >+XXD_LICENSE = Public Domain
> >+XXD_LICENSE_FILES = xxd.c
> >+
> >+define HOST_XXD_BUILD_CMDS
> >+   $(HOST_MAKE_ENV) $(MAKE) -C $(@D)
> >+endef
> >+
> >+define HOST_XXD_INSTALL_CMDS
> >+   $(INSTALL) -m 0755 -D $(@D)/xxd $(HOST_DIR)/usr/bin/xxd
> >+endef
> >+
> >+$(eval $(host-generic-package))
> 
> Best regards,
> Thomas

Thanks,
-Ryan




More information about the buildroot mailing list