* [Buildroot] [PATCH v2] libmodbus package
@ 2010-12-23 12:40 Marek Belisko
2010-12-23 12:40 ` [Buildroot] [PATCH v2] Add libmodbus to buildroot Marek Belisko
0 siblings, 1 reply; 3+ messages in thread
From: Marek Belisko @ 2010-12-23 12:40 UTC (permalink / raw)
To: buildroot
Fix Thomas comments:
- move to networking libraries
- add to staging directory
Marek Belisko (1):
Add libmodbus to buildroot.
package/Config.in | 1 +
package/libmodbus/Config.in | 9 +++++++++
package/libmodbus/libmodbus.mk | 9 +++++++++
3 files changed, 19 insertions(+), 0 deletions(-)
create mode 100644 package/libmodbus/Config.in
create mode 100644 package/libmodbus/libmodbus.mk
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v2] Add libmodbus to buildroot.
2010-12-23 12:40 [Buildroot] [PATCH v2] libmodbus package Marek Belisko
@ 2010-12-23 12:40 ` Marek Belisko
2010-12-24 7:53 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Marek Belisko @ 2010-12-23 12:40 UTC (permalink / raw)
To: buildroot
Following patch add compilation of libmodbus use for communication
over modbus protocol.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
package/Config.in | 1 +
package/libmodbus/Config.in | 9 +++++++++
package/libmodbus/libmodbus.mk | 9 +++++++++
3 files changed, 19 insertions(+), 0 deletions(-)
create mode 100644 package/libmodbus/Config.in
create mode 100644 package/libmodbus/libmodbus.mk
diff --git a/package/Config.in b/package/Config.in
index 80aca2a..19c3e49 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -307,6 +307,7 @@ source "package/libdnet/Config.in"
source "package/libeXosip2/Config.in"
source "package/libidn/Config.in"
source "package/libmicrohttpd/Config.in"
+source "package/libmodbus/Config.in"
source "package/neon/Config.in"
source "package/libnl/Config.in"
source "package/libpcap/Config.in"
diff --git a/package/libmodbus/Config.in b/package/libmodbus/Config.in
new file mode 100644
index 0000000..df90cee
--- /dev/null
+++ b/package/libmodbus/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_LIBMODBUS
+ bool "libmodbus"
+ help
+ libmodbus is a free software library to send/receive data with
+ a device which respects the Modbus protocol. This library can
+ use a serial port or an Ethernet connection.
+
+ http://libmodbus.org
+
diff --git a/package/libmodbus/libmodbus.mk b/package/libmodbus/libmodbus.mk
new file mode 100644
index 0000000..5ca88f0
--- /dev/null
+++ b/package/libmodbus/libmodbus.mk
@@ -0,0 +1,9 @@
+############################################################
+# libmodbus
+#############################################################
+LIBMODBUS_VERSION:=2.0.3
+LIBMODBUS_SOURCE:=libmodbus-$(LIBMODBUS_VERSION).tar.gz
+LIBMODBUS_SITE:=http://github.com/downloads/stephane/libmodbus/$(LIBMODBUS_SOURCE)
+LIBMODBUS_INSTALL_STAGING=YES
+
+$(eval $(call AUTOTARGETS,package,libmodbus))
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v2] Add libmodbus to buildroot.
2010-12-23 12:40 ` [Buildroot] [PATCH v2] Add libmodbus to buildroot Marek Belisko
@ 2010-12-24 7:53 ` Thomas Petazzoni
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2010-12-24 7:53 UTC (permalink / raw)
To: buildroot
On Thu, 23 Dec 2010 13:40:38 +0100
Marek Belisko <marek.belisko@open-nandra.com> wrote:
> Following patch add compilation of libmodbus use for communication
> over modbus protocol.
>
> Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Ok, sounds good, but we have to solve this HTTPS certificate check
problem.
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-12-24 7:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-23 12:40 [Buildroot] [PATCH v2] libmodbus package Marek Belisko
2010-12-23 12:40 ` [Buildroot] [PATCH v2] Add libmodbus to buildroot Marek Belisko
2010-12-24 7:53 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox