2012-04-11 18:36:16 +02:00
i n c l u d e s c r i p t s / M a k e f i l e . i n c l u d e
2012-04-11 18:36:17 +02:00
help :
@echo 'Possible targets:'
@echo ''
2013-01-04 13:05:17 -08:00
@echo ' cgroup - cgroup tools'
2012-04-11 18:36:17 +02:00
@echo ' cpupower - a tool for all things x86 CPU power'
@echo ' firewire - the userspace part of nosy, an IEEE-1394 traffic sniffer'
@echo ' lguest - a minimal 32-bit x86 hypervisor'
@echo ' perf - Linux performance measurement and analysis tool'
@echo ' selftests - various kernel selftests'
@echo ' turbostat - Intel CPU idle stats and freq reporting tool'
@echo ' usb - USB testing tools'
@echo ' virtio - vhost test module'
@echo ' vm - misc vm tools'
@echo ' x86_energy_perf_policy - Intel energy policy tool'
@echo ''
2012-04-11 18:36:18 +02:00
@echo 'You can do:'
2013-01-29 11:48:11 +01:00
@echo ' $$ make -C tools/ <tool>_install'
2012-04-11 18:36:18 +02:00
@echo ''
@echo ' from the kernel command line to build and install one of'
@echo ' the tools above'
@echo ''
@echo ' $$ make tools/install'
@echo ''
@echo ' installs all tools.'
@echo ''
2012-04-11 18:36:17 +02:00
@echo 'Cleaning targets:'
@echo ''
@echo ' all of the above with the "_clean" string appended cleans'
@echo ' the respective build directory.'
@echo ' clean: a summary clean target to clean _all_ folders'
2012-04-11 18:36:16 +02:00
cpupower : FORCE
2012-11-05 15:15:24 +00:00
$( call descend,power/$@ )
2012-04-11 18:36:16 +02:00
2013-01-04 13:05:17 -08:00
cgroup firewire lguest perf usb virtio vm : FORCE
2012-11-05 15:15:24 +00:00
$( call descend,$@ )
2012-04-11 18:36:16 +02:00
selftests : FORCE
2012-11-05 15:15:24 +00:00
$( call descend,testing/$@ )
2012-04-11 18:36:16 +02:00
turbostat x86_energy_perf_policy : FORCE
2012-11-05 15:15:24 +00:00
$( call descend,power/x86/$@ )
2012-04-11 18:36:16 +02:00
cpupower_install :
2012-11-05 15:15:24 +00:00
$( call descend,power/$( @:_install= ) ,install)
2012-04-11 18:36:16 +02:00
2013-01-04 13:05:17 -08:00
cgroup_install firewire_install lguest_install perf_install usb_install virtio_install vm_install :
2012-11-05 15:15:24 +00:00
$( call descend,$( @:_install= ) ,install)
2012-04-11 18:36:16 +02:00
selftests_install :
2012-11-05 15:15:24 +00:00
$( call descend,testing/$( @:_clean= ) ,install)
2012-04-11 18:36:16 +02:00
turbostat_install x86_energy_perf_policy_install :
2012-11-05 15:15:24 +00:00
$( call descend,power/x86/$( @:_install= ) ,install)
2012-04-11 18:36:16 +02:00
2013-01-04 13:05:17 -08:00
install : cgroup_install cpupower_install firewire_install lguest_install \
perf_install selftests_install turbostat_install usb_install \
virtio_install vm_install x86_energy_perf_policy_install
2012-04-11 18:36:16 +02:00
cpupower_clean :
2012-11-05 15:15:24 +00:00
$( call descend,power/cpupower,clean)
2012-04-11 18:36:16 +02:00
2013-01-04 13:05:17 -08:00
cgroup_clean firewire_clean lguest_clean perf_clean usb_clean virtio_clean vm_clean :
2012-11-05 15:15:24 +00:00
$( call descend,$( @:_clean= ) ,clean)
2012-04-11 18:36:16 +02:00
selftests_clean :
2012-11-05 15:15:24 +00:00
$( call descend,testing/$( @:_clean= ) ,clean)
2012-04-11 18:36:16 +02:00
turbostat_clean x86_energy_perf_policy_clean :
2012-11-05 15:15:24 +00:00
$( call descend,power/x86/$( @:_clean= ) ,clean)
2012-04-11 18:36:16 +02:00
2013-01-04 13:05:17 -08:00
clean : cgroup_clean cpupower_clean firewire_clean lguest_clean perf_clean \
selftests_clean turbostat_clean usb_clean virtio_clean \
vm_clean x86_energy_perf_policy_clean
2012-04-11 18:36:16 +02:00
.PHONY : FORCE