* [ptxdist] [PATCH 1/2] libiio: version bump 0.16 -> 0.17
@ 2019-01-14 9:50 Ladislav Michl
2019-01-14 9:50 ` [ptxdist] [PATCH 2/2] libiio: Add options for installing test binaries Ladislav Michl
0 siblings, 1 reply; 4+ messages in thread
From: Ladislav Michl @ 2019-01-14 9:50 UTC (permalink / raw)
To: ptxdist
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
rules/libiio.make | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rules/libiio.make b/rules/libiio.make
index 8a803ac9b..c997ed4bd 100644
--- a/rules/libiio.make
+++ b/rules/libiio.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_LIBIIO) += libiio
#
# Paths and names
#
-LIBIIO_VERSION := 0.16
-LIBIIO_MD5 := 2f2b630cec928cf691f40f720625d40d
+LIBIIO_VERSION := 0.17
+LIBIIO_MD5 := 05a45aad2d50ef8c8a015d0caaf3802d
LIBIIO := libiio-$(LIBIIO_VERSION)
LIBIIO_SUFFIX := tar.gz
LIBIIO_URL := https://github.com/analogdevicesinc/libiio/archive/v$(LIBIIO_VERSION).$(LIBIIO_SUFFIX)
--
2.20.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ptxdist] [PATCH 2/2] libiio: Add options for installing test binaries
2019-01-14 9:50 [ptxdist] [PATCH 1/2] libiio: version bump 0.16 -> 0.17 Ladislav Michl
@ 2019-01-14 9:50 ` Ladislav Michl
2019-01-16 15:32 ` Michael Olbrich
0 siblings, 1 reply; 4+ messages in thread
From: Ladislav Michl @ 2019-01-14 9:50 UTC (permalink / raw)
To: ptxdist
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
rules/libiio.in | 29 +++++++++++++++++++++++++++--
rules/libiio.make | 20 ++++++++++++++++++--
2 files changed, 45 insertions(+), 4 deletions(-)
diff --git a/rules/libiio.in b/rules/libiio.in
index c9e94c866..b1d8f9038 100644
--- a/rules/libiio.in
+++ b/rules/libiio.in
@@ -1,9 +1,34 @@
## SECTION=system_libraries
-config LIBIIO
+menuconfig LIBIIO
tristate
- prompt "libiio"
+ prompt "libiio "
select HOST_CMAKE
help
A cross platform library for interfacing with local and
remote Linux IIO devices.
+
+if LIBIIO
+
+config LIBIIO_ADI_XFLOW_CHECK
+ bool "install iio_adi_xflow_check"
+
+config LIBIIO_ATTR
+ bool "install iio_attr"
+
+config LIBIIO_GENXML
+ bool "install iio_genxml"
+
+config LIBIIO_INFO
+ bool "install iio_info"
+
+config LIBIIO_READDEV
+ bool "install iio_readdev"
+
+config LIBIIO_REG
+ bool "install iio_reg"
+
+config LIBIIO_WRITEDEV
+ bool "install iio_writedev"
+
+endif
diff --git a/rules/libiio.make b/rules/libiio.make
index c997ed4bd..2a621eae7 100644
--- a/rules/libiio.make
+++ b/rules/libiio.make
@@ -29,10 +29,23 @@ LIBIIO_LICENSE := LGPL-2.1-only
# Prepare
# ----------------------------------------------------------------------------
+LIBIIO_TESTS-y :=
+LIBIIO_TESTS-$(PTXCONF_LIBIIO_ADI_XFLOW_CHECK) += iio_adi_xflow_check
+LIBIIO_TESTS-$(PTXCONF_LIBIIO_ATTR) += iio_attr
+LIBIIO_TESTS-$(PTXCONF_LIBIIO_GENXML) += iio_genxml
+LIBIIO_TESTS-$(PTXCONF_LIBIIO_INFO) += iio_info
+LIBIIO_TESTS-$(PTXCONF_LIBIIO_READDEV) += iio_readdev
+LIBIIO_TESTS-$(PTXCONF_LIBIIO_REG) += iio_reg
+LIBIIO_TESTS-$(PTXCONF_LIBIIO_WRITEDEV) += iio_writedev
+
+ifneq ($(strip $(LIBIIO_TESTS-y)),)
+LIBIIO_TESTS := y
+endif
+
LIBIIO_CONF_TOOL := cmake
LIBIIO_CONF_OPT := \
$(CROSS_CMAKE_USR) \
- -DENABLE_IPV6=$(call ptx/ifdef, PTXCONF_GLOBAL_IPV6,ON,OFF) \
+ -DENABLE_IPV6=$(call ptx/onoff, PTXCONF_GLOBAL_IPV6) \
-DWITH_DOC=OFF \
-DWITH_IIOD=OFF \
-DWITH_LOCAL_BACKEND=ON \
@@ -44,7 +57,7 @@ LIBIIO_CONF_OPT := \
-DWITH_MATLAB_BINDINGS_API=OFF \
-DPYTHON_BINDINGS=OFF \
-DCSHARP_BINDINGS=OFF \
- -DWITH_TESTS=OFF
+ -DWITH_TESTS=$(call ptx/onoff, LIBIIO_TESTS)
# ----------------------------------------------------------------------------
# Target-Install
@@ -61,6 +74,9 @@ $(STATEDIR)/libiio.targetinstall:
@$(call install_lib, libiio, 0, 0, 0644, libiio)
+ @$(foreach bin, $(LIBIIO_TESTS-y), \
+ $(call install_copy, libiio, 0, 0, 0755, -, /usr/bin/$(bin));)
+
@$(call install_finish, libiio)
@$(call touch)
--
2.20.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ptxdist] [PATCH 2/2] libiio: Add options for installing test binaries
2019-01-14 9:50 ` [ptxdist] [PATCH 2/2] libiio: Add options for installing test binaries Ladislav Michl
@ 2019-01-16 15:32 ` Michael Olbrich
2019-01-16 21:32 ` Ladislav Michl
0 siblings, 1 reply; 4+ messages in thread
From: Michael Olbrich @ 2019-01-16 15:32 UTC (permalink / raw)
To: ptxdist
On Mon, Jan 14, 2019 at 10:50:56AM +0100, Ladislav Michl wrote:
> Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
> ---
> rules/libiio.in | 29 +++++++++++++++++++++++++++--
> rules/libiio.make | 20 ++++++++++++++++++--
> 2 files changed, 45 insertions(+), 4 deletions(-)
>
> diff --git a/rules/libiio.in b/rules/libiio.in
> index c9e94c866..b1d8f9038 100644
> --- a/rules/libiio.in
> +++ b/rules/libiio.in
> @@ -1,9 +1,34 @@
> ## SECTION=system_libraries
>
> -config LIBIIO
> +menuconfig LIBIIO
> tristate
> - prompt "libiio"
> + prompt "libiio "
> select HOST_CMAKE
> help
> A cross platform library for interfacing with local and
> remote Linux IIO devices.
> +
> +if LIBIIO
> +
> +config LIBIIO_ADI_XFLOW_CHECK
> + bool "install iio_adi_xflow_check"
> +
> +config LIBIIO_ATTR
> + bool "install iio_attr"
> +
> +config LIBIIO_GENXML
> + bool "install iio_genxml"
> +
> +config LIBIIO_INFO
> + bool "install iio_info"
> +
> +config LIBIIO_READDEV
> + bool "install iio_readdev"
> +
> +config LIBIIO_REG
> + bool "install iio_reg"
> +
> +config LIBIIO_WRITEDEV
> + bool "install iio_writedev"
Hmmm, how big are these tools? May just one option would be ok too?
Michael
> +
> +endif
> diff --git a/rules/libiio.make b/rules/libiio.make
> index c997ed4bd..2a621eae7 100644
> --- a/rules/libiio.make
> +++ b/rules/libiio.make
> @@ -29,10 +29,23 @@ LIBIIO_LICENSE := LGPL-2.1-only
> # Prepare
> # ----------------------------------------------------------------------------
>
> +LIBIIO_TESTS-y :=
> +LIBIIO_TESTS-$(PTXCONF_LIBIIO_ADI_XFLOW_CHECK) += iio_adi_xflow_check
> +LIBIIO_TESTS-$(PTXCONF_LIBIIO_ATTR) += iio_attr
> +LIBIIO_TESTS-$(PTXCONF_LIBIIO_GENXML) += iio_genxml
> +LIBIIO_TESTS-$(PTXCONF_LIBIIO_INFO) += iio_info
> +LIBIIO_TESTS-$(PTXCONF_LIBIIO_READDEV) += iio_readdev
> +LIBIIO_TESTS-$(PTXCONF_LIBIIO_REG) += iio_reg
> +LIBIIO_TESTS-$(PTXCONF_LIBIIO_WRITEDEV) += iio_writedev
> +
> +ifneq ($(strip $(LIBIIO_TESTS-y)),)
> +LIBIIO_TESTS := y
> +endif
> +
> LIBIIO_CONF_TOOL := cmake
> LIBIIO_CONF_OPT := \
> $(CROSS_CMAKE_USR) \
> - -DENABLE_IPV6=$(call ptx/ifdef, PTXCONF_GLOBAL_IPV6,ON,OFF) \
> + -DENABLE_IPV6=$(call ptx/onoff, PTXCONF_GLOBAL_IPV6) \
> -DWITH_DOC=OFF \
> -DWITH_IIOD=OFF \
> -DWITH_LOCAL_BACKEND=ON \
> @@ -44,7 +57,7 @@ LIBIIO_CONF_OPT := \
> -DWITH_MATLAB_BINDINGS_API=OFF \
> -DPYTHON_BINDINGS=OFF \
> -DCSHARP_BINDINGS=OFF \
> - -DWITH_TESTS=OFF
> + -DWITH_TESTS=$(call ptx/onoff, LIBIIO_TESTS)
>
> # ----------------------------------------------------------------------------
> # Target-Install
> @@ -61,6 +74,9 @@ $(STATEDIR)/libiio.targetinstall:
>
> @$(call install_lib, libiio, 0, 0, 0644, libiio)
>
> + @$(foreach bin, $(LIBIIO_TESTS-y), \
> + $(call install_copy, libiio, 0, 0, 0755, -, /usr/bin/$(bin));)
> +
> @$(call install_finish, libiio)
>
> @$(call touch)
> --
> 2.20.1
>
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ptxdist] [PATCH 2/2] libiio: Add options for installing test binaries
2019-01-16 15:32 ` Michael Olbrich
@ 2019-01-16 21:32 ` Ladislav Michl
0 siblings, 0 replies; 4+ messages in thread
From: Ladislav Michl @ 2019-01-16 21:32 UTC (permalink / raw)
To: ptxdist
On Wed, Jan 16, 2019 at 04:32:49PM +0100, Michael Olbrich wrote:
> On Mon, Jan 14, 2019 at 10:50:56AM +0100, Ladislav Michl wrote:
> > Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
> > ---
> > rules/libiio.in | 29 +++++++++++++++++++++++++++--
> > rules/libiio.make | 20 ++++++++++++++++++--
> > 2 files changed, 45 insertions(+), 4 deletions(-)
> >
> > diff --git a/rules/libiio.in b/rules/libiio.in
> > index c9e94c866..b1d8f9038 100644
> > --- a/rules/libiio.in
> > +++ b/rules/libiio.in
> > @@ -1,9 +1,34 @@
> > ## SECTION=system_libraries
> >
> > -config LIBIIO
> > +menuconfig LIBIIO
> > tristate
> > - prompt "libiio"
> > + prompt "libiio "
> > select HOST_CMAKE
> > help
> > A cross platform library for interfacing with local and
> > remote Linux IIO devices.
> > +
> > +if LIBIIO
> > +
> > +config LIBIIO_ADI_XFLOW_CHECK
> > + bool "install iio_adi_xflow_check"
> > +
> > +config LIBIIO_ATTR
> > + bool "install iio_attr"
> > +
> > +config LIBIIO_GENXML
> > + bool "install iio_genxml"
> > +
> > +config LIBIIO_INFO
> > + bool "install iio_info"
> > +
> > +config LIBIIO_READDEV
> > + bool "install iio_readdev"
> > +
> > +config LIBIIO_REG
> > + bool "install iio_reg"
> > +
> > +config LIBIIO_WRITEDEV
> > + bool "install iio_writedev"
>
> Hmmm, how big are these tools? May just one option would be ok too?
Possibly. Those are 10-20kB on ARM. And are used probably only during
development not in production.
> Michael
>
> > +
> > +endif
> > diff --git a/rules/libiio.make b/rules/libiio.make
> > index c997ed4bd..2a621eae7 100644
> > --- a/rules/libiio.make
> > +++ b/rules/libiio.make
> > @@ -29,10 +29,23 @@ LIBIIO_LICENSE := LGPL-2.1-only
> > # Prepare
> > # ----------------------------------------------------------------------------
> >
> > +LIBIIO_TESTS-y :=
> > +LIBIIO_TESTS-$(PTXCONF_LIBIIO_ADI_XFLOW_CHECK) += iio_adi_xflow_check
> > +LIBIIO_TESTS-$(PTXCONF_LIBIIO_ATTR) += iio_attr
> > +LIBIIO_TESTS-$(PTXCONF_LIBIIO_GENXML) += iio_genxml
> > +LIBIIO_TESTS-$(PTXCONF_LIBIIO_INFO) += iio_info
> > +LIBIIO_TESTS-$(PTXCONF_LIBIIO_READDEV) += iio_readdev
> > +LIBIIO_TESTS-$(PTXCONF_LIBIIO_REG) += iio_reg
> > +LIBIIO_TESTS-$(PTXCONF_LIBIIO_WRITEDEV) += iio_writedev
> > +
> > +ifneq ($(strip $(LIBIIO_TESTS-y)),)
> > +LIBIIO_TESTS := y
> > +endif
> > +
> > LIBIIO_CONF_TOOL := cmake
> > LIBIIO_CONF_OPT := \
> > $(CROSS_CMAKE_USR) \
> > - -DENABLE_IPV6=$(call ptx/ifdef, PTXCONF_GLOBAL_IPV6,ON,OFF) \
> > + -DENABLE_IPV6=$(call ptx/onoff, PTXCONF_GLOBAL_IPV6) \
> > -DWITH_DOC=OFF \
> > -DWITH_IIOD=OFF \
> > -DWITH_LOCAL_BACKEND=ON \
> > @@ -44,7 +57,7 @@ LIBIIO_CONF_OPT := \
> > -DWITH_MATLAB_BINDINGS_API=OFF \
> > -DPYTHON_BINDINGS=OFF \
> > -DCSHARP_BINDINGS=OFF \
> > - -DWITH_TESTS=OFF
> > + -DWITH_TESTS=$(call ptx/onoff, LIBIIO_TESTS)
> >
> > # ----------------------------------------------------------------------------
> > # Target-Install
> > @@ -61,6 +74,9 @@ $(STATEDIR)/libiio.targetinstall:
> >
> > @$(call install_lib, libiio, 0, 0, 0644, libiio)
> >
> > + @$(foreach bin, $(LIBIIO_TESTS-y), \
> > + $(call install_copy, libiio, 0, 0, 0755, -, /usr/bin/$(bin));)
> > +
> > @$(call install_finish, libiio)
> >
> > @$(call touch)
> > --
> > 2.20.1
> >
> >
> > _______________________________________________
> > ptxdist mailing list
> > ptxdist@pengutronix.de
>
> --
> Pengutronix e.K. | |
> Industrial Linux Solutions | http://www.pengutronix.de/ |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-01-16 21:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-14 9:50 [ptxdist] [PATCH 1/2] libiio: version bump 0.16 -> 0.17 Ladislav Michl
2019-01-14 9:50 ` [ptxdist] [PATCH 2/2] libiio: Add options for installing test binaries Ladislav Michl
2019-01-16 15:32 ` Michael Olbrich
2019-01-16 21:32 ` Ladislav Michl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox