feat: add siitool package
PATCH 1/1 feat: add siitool package
From: fieldxy <[email protected]>
- Siitool generates your SII/EEPROM files from the ESI/XML description files of your EtherCAT devices. The program is also capable of interpreting a raw SII/EEPROM file and print it in a human-friendly syntax.
- git web https://github.com/synapticon/siitool
--- package/Config.in | 1 + ...makefile-xmllib-and-ld-command-error.patch | 47 +++++++++++++++++++ package/siitool/Config.in | 9 ++++ package/siitool/siitool.mk | 23 +++++++++ 4 files changed, 80 insertions(+) create mode 100644 package/siitool/0001-fix-makefile-xmllib-and-ld-command-error.patch create mode 100644 package/siitool/Config.in create mode 100644 package/siitool/siitool.mk
package/Config.in +1 -0
@@ -599,6 +599,7 @@ endmenu source "package/wipe/Config.in" source "package/xorriso/Config.in" source "package/xr819-xradio/Config.in" + source "package/siitool/Config.in" endmenu menu "Interpreter languages and scripting"
package/siitool/0001-fix-makefile-xmllib-and-ld-command-error.patch new file +47 -0
47 lines not on this page · raw message
package/siitool/Config.in new file +9 -0
@@ -0,0 +1,9 @@ +config BR2_PACKAGE_SIITOOL + bool "siitool" + depends on BR2_PACKAGE_LIBXML2 + help + Siitool generates your SII/EEPROM files from the + ESI/XML description files of your EtherCAT devices. + + https://github.com/synapticon/siitool/ +
package/siitool/siitool.mk new file +23 -0
@@ -0,0 +1,23 @@ +################################################################################ +# +# siitool +# +################################################################################ + +SIITOOL_VERSION = v1.4 +SIITOOL_SITE = $(call github,synapticon,siitool,$(SIITOOL_VERSION)) +SIITOOL_SITE_METHOD=git +SIITOOL_LICENSE = GPL-2.0 +SIITOOL_LICENSE_FILES = LICENSE COPYING + +SIITOOL_MAKE_ENV = CC="$(TARGET_CC)" LD="$(TARGET_CC)" + +define SIITOOL_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) +endef + +define SIITOOL_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/siitool $(TARGET_DIR)/usr/bin/siitool +endef + +$(eval $(generic-package))
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hello fieldxy,
Quoted 6 lines · On Tue, 2 Nov 2021 22:18:47 +0800 chenxy <[email protected]> wrote:
From: fieldxy <[email protected]>
- Siitool generates your SII/EEPROM files from the ESI/XML description files of your EtherCAT devices. The program is also capable of interpreting a raw SII/EEPROM file and print it in a human-friendly syntax.
- git web https://github.com/synapticon/siitool
Thanks for your patch. But unfortunately, as it is, we can't apply it as we don't accept anonymous contributions. Could you resubmit with your full name?
Thanks a lot!
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot