Skip to contentSkip to conversation

package/rs485conf: new package

PATCH New Marcin Niestroj 3 participants 3 messages Jul 5, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/rs485conf: new package

---
 package/Config.in                |  1 +
 package/rs485conf/Config.in      |  9 +++++++++
 package/rs485conf/rs485conf.hash |  2 ++
 package/rs485conf/rs485conf.mk   | 20 ++++++++++++++++++++
 4 files changed, 32 insertions(+)
 create mode 100644 package/rs485conf/Config.in
 create mode 100644 package/rs485conf/rs485conf.hash
 create mode 100644 package/rs485conf/rs485conf.mk
package/Config.in +1 -0
index 9d20f6b..cf25982 100644
@@ -430,6 +430,7 @@ endmenu
 	source "package/rfkill/Config.in"
 	source "package/rng-tools/Config.in"
 	source "package/rpi-userland/Config.in"
+	source "package/rs485conf/Config.in"
 	source "package/rtl8188eu/Config.in"
 	source "package/rtl8821au/Config.in"
 	source "package/sane-backends/Config.in"
package/rs485conf/Config.in new file +9 -0
new file mode 100644
index 0000000..ff0b743
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_RS485CONF
+	bool "rs485conf"
+	help
+	  rs485conf is intended to be used on embedded boards with RS485
+	  interface. It can show as well as modify RS485 configuration
+	  parameters of TTY device with easy to use command line
+	  options.
+
+	  https://github.com/mniestroj/rs485conf
package/rs485conf/rs485conf.hash new file +2 -0
new file mode 100644
index 0000000..e2ccbfd
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 f163f81cd50aae6fa39cbb4f6408a3699da7a87a56649c4b96d6f168c9be6a7d rs485conf-5c8d00cf70950fab3454549b81dea843d844492a.tar.gz
package/rs485conf/rs485conf.mk new file +20 -0
new file mode 100644
index 0000000..7fda39c
@@ -0,0 +1,20 @@
+################################################################################
+#
+# rs485conf
+#
+################################################################################
+
+RS485CONF_VERSION = 5c8d00cf70950fab3454549b81dea843d844492a
+RS485CONF_SITE = $(call github,mniestroj,rs485conf,$(RS485CONF_VERSION))
+RS485CONF_LICENSE = BSD-3c
+RS485CONF_LICENSE_FILES = LICENSE
+
+define RS485CONF_BUILD_CMDS
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
+endef
+
+define RS485CONF_INSTALL_TARGET_CMDS
+	$(MAKE) PREFIX="$(TARGET_DIR)/usr" -C $(@D) install
+endef
+
+$(eval $(generic-package))
Signature · 1 line
2.9.0
#1 lore raw

PATCH 1/1 package/rs485conf: new package

Hi Marcin, all

Quoted 73 lines · Marcin Niestroj
---
 package/Config.in                |  1 +
 package/rs485conf/Config.in      |  9 +++++++++
 package/rs485conf/rs485conf.hash |  2 ++
 package/rs485conf/rs485conf.mk   | 20 ++++++++++++++++++++
 4 files changed, 32 insertions(+)
 create mode 100644 package/rs485conf/Config.in
 create mode 100644 package/rs485conf/rs485conf.hash
 create mode 100644 package/rs485conf/rs485conf.mk
package/Config.in +1 -0
index 9d20f6b..cf25982 100644
@@ -430,6 +430,7 @@ endmenu
        source "package/rfkill/Config.in"
        source "package/rng-tools/Config.in"
        source "package/rpi-userland/Config.in"
+       source "package/rs485conf/Config.in"
        source "package/rtl8188eu/Config.in"
        source "package/rtl8821au/Config.in"
        source "package/sane-backends/Config.in"
package/rs485conf/Config.in new file +9 -0
new file mode 100644
index 0000000..ff0b743
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_RS485CONF
+       bool "rs485conf"
+       help
+         rs485conf is intended to be used on embedded boards with RS485
+         interface. It can show as well as modify RS485 configuration
+         parameters of TTY device with easy to use command line
+         options.
+
+         https://github.com/mniestroj/rs485conf
package/rs485conf/rs485conf.hash new file +2 -0
new file mode 100644
index 0000000..e2ccbfd
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 f163f81cd50aae6fa39cbb4f6408a3699da7a87a56649c4b96d6f168c9be6a7d rs485conf-5c8d00cf70950fab3454549b81dea843d844492a.tar.gz
package/rs485conf/rs485conf.mk new file +20 -1
new file mode 100644
index 0000000..7fda39c
@@ -0,0 +1,20 @@
+################################################################################
+#
+# rs485conf
+#
+################################################################################
+
+RS485CONF_VERSION = 5c8d00cf70950fab3454549b81dea843d844492a
+RS485CONF_SITE = $(call github,mniestroj,rs485conf,$(RS485CONF_VERSION))
+RS485CONF_LICENSE = BSD-3c
+RS485CONF_LICENSE_FILES = LICENSE
+
+define RS485CONF_BUILD_CMDS
+       $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
+endef
+
+define RS485CONF_INSTALL_TARGET_CMDS
+       $(MAKE) PREFIX="$(TARGET_DIR)/usr" -C $(@D) install
+endef
+
+$(eval $(generic-package))
--
Quoted 2 lines

2.9.0

Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#2 lore raw

PATCH 1/1 package/rs485conf: new package

In reply to Marcin Niestroj

Hello,

Quoted 10 lines · Marcin Niestroj
---
 package/Config.in                |  1 +
 package/rs485conf/Config.in      |  9 +++++++++
 package/rs485conf/rs485conf.hash |  2 ++
 package/rs485conf/rs485conf.mk   | 20 ++++++++++++++++++++
 4 files changed, 32 insertions(+)
 create mode 100644 package/rs485conf/Config.in
 create mode 100644 package/rs485conf/rs485conf.hash
 create mode 100644 package/rs485conf/rs485conf.mk

Applied to master, thanks.

Thomas

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