linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tools: iio: Add iio targets in tools Makefile
@ 2015-03-28 19:43 Roberta Dobrescu
  2015-04-06 14:44 ` Daniel Baluta
  0 siblings, 1 reply; 3+ messages in thread
From: Roberta Dobrescu @ 2015-03-28 19:43 UTC (permalink / raw)
  To: linux-iio; +Cc: jic23, knaack.h, lars, pmeerw, daniel.baluta, Roberta Dobrescu

This patch adds targets for building and cleaning iio tools to tools/Makefile.
To build iio tools from the toplevel kernel directory one should call:

$ make -C tools iio

and for cleaning it

$ make -C tools iio_clean

Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com>
---
 tools/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/tools/Makefile b/tools/Makefile
index 9a617ad..79463b0 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -8,6 +8,7 @@ help:
 	@echo '  cpupower   - a tool for all things x86 CPU power'
 	@echo '  firewire   - the userspace part of nosy, an IEEE-1394 traffic sniffer'
 	@echo '  hv         - tools used when in Hyper-V clients'
+	@echo '  iio        - IIO tools'
 	@echo '  lguest     - a minimal 32-bit x86 hypervisor'
 	@echo '  perf       - Linux performance measurement and analysis tool'
 	@echo '  selftests  - various kernel selftests'
@@ -41,7 +42,7 @@ acpi: FORCE
 cpupower: FORCE
 	$(call descend,power/$@)
 
-cgroup firewire hv guest usb virtio vm net: FORCE
+cgroup firewire hv guest usb virtio vm net iio: FORCE
 	$(call descend,$@)
 
 liblockdep: FORCE
@@ -91,7 +92,7 @@ acpi_clean:
 cpupower_clean:
 	$(call descend,power/cpupower,clean)
 
-cgroup_clean hv_clean firewire_clean lguest_clean usb_clean virtio_clean vm_clean net_clean:
+cgroup_clean hv_clean firewire_clean lguest_clean usb_clean virtio_clean vm_clean net_clean iio_clean:
 	$(call descend,$(@:_clean=),clean)
 
 liblockdep_clean:
@@ -114,6 +115,6 @@ tmon_clean:
 
 clean: acpi_clean cgroup_clean cpupower_clean hv_clean firewire_clean lguest_clean \
 		perf_clean selftests_clean turbostat_clean usb_clean virtio_clean \
-		vm_clean net_clean x86_energy_perf_policy_clean tmon_clean
+		vm_clean net_clean iio_clean x86_energy_perf_policy_clean tmon_clean
 
 .PHONY: FORCE
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] tools: iio: Add iio targets in tools Makefile
  2015-03-28 19:43 [PATCH] tools: iio: Add iio targets in tools Makefile Roberta Dobrescu
@ 2015-04-06 14:44 ` Daniel Baluta
  2015-04-09 13:15   ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Baluta @ 2015-04-06 14:44 UTC (permalink / raw)
  To: Roberta Dobrescu
  Cc: linux-iio@vger.kernel.org, Jonathan Cameron, Hartmut Knaack,
	Lars-Peter Clausen, Peter Meerwald, Daniel Baluta

On Sat, Mar 28, 2015 at 9:43 PM, Roberta Dobrescu
<roberta.dobrescu@gmail.com> wrote:
> This patch adds targets for building and cleaning iio tools to tools/Makefile.
> To build iio tools from the toplevel kernel directory one should call:
>
> $ make -C tools iio
>
> and for cleaning it
>
> $ make -C tools iio_clean
>
> Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com>

Reviewed-by: Daniel Baluta <daniel.baluta@intel.com>

> ---
>  tools/Makefile | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/tools/Makefile b/tools/Makefile
> index 9a617ad..79463b0 100644
> --- a/tools/Makefile
> +++ b/tools/Makefile
> @@ -8,6 +8,7 @@ help:
>         @echo '  cpupower   - a tool for all things x86 CPU power'
>         @echo '  firewire   - the userspace part of nosy, an IEEE-1394 traffic sniffer'
>         @echo '  hv         - tools used when in Hyper-V clients'
> +       @echo '  iio        - IIO tools'
>         @echo '  lguest     - a minimal 32-bit x86 hypervisor'
>         @echo '  perf       - Linux performance measurement and analysis tool'
>         @echo '  selftests  - various kernel selftests'
> @@ -41,7 +42,7 @@ acpi: FORCE
>  cpupower: FORCE
>         $(call descend,power/$@)
>
> -cgroup firewire hv guest usb virtio vm net: FORCE
> +cgroup firewire hv guest usb virtio vm net iio: FORCE
>         $(call descend,$@)
>
>  liblockdep: FORCE
> @@ -91,7 +92,7 @@ acpi_clean:
>  cpupower_clean:
>         $(call descend,power/cpupower,clean)
>
> -cgroup_clean hv_clean firewire_clean lguest_clean usb_clean virtio_clean vm_clean net_clean:
> +cgroup_clean hv_clean firewire_clean lguest_clean usb_clean virtio_clean vm_clean net_clean iio_clean:
>         $(call descend,$(@:_clean=),clean)
>
>  liblockdep_clean:
> @@ -114,6 +115,6 @@ tmon_clean:
>
>  clean: acpi_clean cgroup_clean cpupower_clean hv_clean firewire_clean lguest_clean \
>                 perf_clean selftests_clean turbostat_clean usb_clean virtio_clean \
> -               vm_clean net_clean x86_energy_perf_policy_clean tmon_clean
> +               vm_clean net_clean iio_clean x86_energy_perf_policy_clean tmon_clean
>
>  .PHONY: FORCE
> --
> 1.9.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] tools: iio: Add iio targets in tools Makefile
  2015-04-06 14:44 ` Daniel Baluta
@ 2015-04-09 13:15   ` Jonathan Cameron
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2015-04-09 13:15 UTC (permalink / raw)
  To: Daniel Baluta, Roberta Dobrescu
  Cc: linux-iio@vger.kernel.org, Hartmut Knaack, Lars-Peter Clausen,
	Peter Meerwald

On 06/04/15 15:44, Daniel Baluta wrote:
> On Sat, Mar 28, 2015 at 9:43 PM, Roberta Dobrescu
> <roberta.dobrescu@gmail.com> wrote:
>> This patch adds targets for building and cleaning iio tools to tools/Makefile.
>> To build iio tools from the toplevel kernel directory one should call:
>>
>> $ make -C tools iio
>>
>> and for cleaning it
>>
>> $ make -C tools iio_clean
>>
>> Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com>
> 
> Reviewed-by: Daniel Baluta <daniel.baluta@intel.com>
> 
Applied to the togreg branch of iio.git - initially pushed out as testing.

Thanks,

Jonathan
>> ---
>>  tools/Makefile | 7 ++++---
>>  1 file changed, 4 insertions(+), 3 deletions(-)
>>
>> diff --git a/tools/Makefile b/tools/Makefile
>> index 9a617ad..79463b0 100644
>> --- a/tools/Makefile
>> +++ b/tools/Makefile
>> @@ -8,6 +8,7 @@ help:
>>         @echo '  cpupower   - a tool for all things x86 CPU power'
>>         @echo '  firewire   - the userspace part of nosy, an IEEE-1394 traffic sniffer'
>>         @echo '  hv         - tools used when in Hyper-V clients'
>> +       @echo '  iio        - IIO tools'
>>         @echo '  lguest     - a minimal 32-bit x86 hypervisor'
>>         @echo '  perf       - Linux performance measurement and analysis tool'
>>         @echo '  selftests  - various kernel selftests'
>> @@ -41,7 +42,7 @@ acpi: FORCE
>>  cpupower: FORCE
>>         $(call descend,power/$@)
>>
>> -cgroup firewire hv guest usb virtio vm net: FORCE
>> +cgroup firewire hv guest usb virtio vm net iio: FORCE
>>         $(call descend,$@)
>>
>>  liblockdep: FORCE
>> @@ -91,7 +92,7 @@ acpi_clean:
>>  cpupower_clean:
>>         $(call descend,power/cpupower,clean)
>>
>> -cgroup_clean hv_clean firewire_clean lguest_clean usb_clean virtio_clean vm_clean net_clean:
>> +cgroup_clean hv_clean firewire_clean lguest_clean usb_clean virtio_clean vm_clean net_clean iio_clean:
>>         $(call descend,$(@:_clean=),clean)
>>
>>  liblockdep_clean:
>> @@ -114,6 +115,6 @@ tmon_clean:
>>
>>  clean: acpi_clean cgroup_clean cpupower_clean hv_clean firewire_clean lguest_clean \
>>                 perf_clean selftests_clean turbostat_clean usb_clean virtio_clean \
>> -               vm_clean net_clean x86_energy_perf_policy_clean tmon_clean
>> +               vm_clean net_clean iio_clean x86_energy_perf_policy_clean tmon_clean
>>
>>  .PHONY: FORCE
>> --
>> 1.9.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-09 13:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-28 19:43 [PATCH] tools: iio: Add iio targets in tools Makefile Roberta Dobrescu
2015-04-06 14:44 ` Daniel Baluta
2015-04-09 13:15   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).