mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 04:20:53 +07:00
Adding makefile for tools/hv
Currently, there is no makefile for the Hyper-V tools. This patch adds the missing makefile, and adds it to the main tools makefile. Signed-off-by: Bjarke Istrup Pedersen <gurligebis@gentoo.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a7155f4e22
commit
3eb2094c59
@ -7,6 +7,7 @@ help:
|
|||||||
@echo ' cgroup - cgroup tools'
|
@echo ' cgroup - cgroup tools'
|
||||||
@echo ' cpupower - a tool for all things x86 CPU power'
|
@echo ' cpupower - a tool for all things x86 CPU power'
|
||||||
@echo ' firewire - the userspace part of nosy, an IEEE-1394 traffic sniffer'
|
@echo ' firewire - the userspace part of nosy, an IEEE-1394 traffic sniffer'
|
||||||
|
@echo ' hv - tools used when in Hyper-V clients'
|
||||||
@echo ' lguest - a minimal 32-bit x86 hypervisor'
|
@echo ' lguest - a minimal 32-bit x86 hypervisor'
|
||||||
@echo ' perf - Linux performance measurement and analysis tool'
|
@echo ' perf - Linux performance measurement and analysis tool'
|
||||||
@echo ' selftests - various kernel selftests'
|
@echo ' selftests - various kernel selftests'
|
||||||
@ -40,7 +41,7 @@ acpi: FORCE
|
|||||||
cpupower: FORCE
|
cpupower: FORCE
|
||||||
$(call descend,power/$@)
|
$(call descend,power/$@)
|
||||||
|
|
||||||
cgroup firewire guest usb virtio vm net: FORCE
|
cgroup firewire hv guest usb virtio vm net: FORCE
|
||||||
$(call descend,$@)
|
$(call descend,$@)
|
||||||
|
|
||||||
libapikfs: FORCE
|
libapikfs: FORCE
|
||||||
@ -64,7 +65,7 @@ acpi_install:
|
|||||||
cpupower_install:
|
cpupower_install:
|
||||||
$(call descend,power/$(@:_install=),install)
|
$(call descend,power/$(@:_install=),install)
|
||||||
|
|
||||||
cgroup_install firewire_install lguest_install perf_install usb_install virtio_install vm_install net_install:
|
cgroup_install firewire_install hv_install lguest_install perf_install usb_install virtio_install vm_install net_install:
|
||||||
$(call descend,$(@:_install=),install)
|
$(call descend,$(@:_install=),install)
|
||||||
|
|
||||||
selftests_install:
|
selftests_install:
|
||||||
@ -76,7 +77,7 @@ turbostat_install x86_energy_perf_policy_install:
|
|||||||
tmon_install:
|
tmon_install:
|
||||||
$(call descend,thermal/$(@:_install=),install)
|
$(call descend,thermal/$(@:_install=),install)
|
||||||
|
|
||||||
install: acpi_install cgroup_install cpupower_install firewire_install lguest_install \
|
install: acpi_install cgroup_install cpupower_install hv_install firewire_install lguest_install \
|
||||||
perf_install selftests_install turbostat_install usb_install \
|
perf_install selftests_install turbostat_install usb_install \
|
||||||
virtio_install vm_install net_install x86_energy_perf_policy_install \
|
virtio_install vm_install net_install x86_energy_perf_policy_install \
|
||||||
tmon
|
tmon
|
||||||
@ -87,7 +88,7 @@ acpi_clean:
|
|||||||
cpupower_clean:
|
cpupower_clean:
|
||||||
$(call descend,power/cpupower,clean)
|
$(call descend,power/cpupower,clean)
|
||||||
|
|
||||||
cgroup_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:
|
||||||
$(call descend,$(@:_clean=),clean)
|
$(call descend,$(@:_clean=),clean)
|
||||||
|
|
||||||
libapikfs_clean:
|
libapikfs_clean:
|
||||||
@ -105,7 +106,7 @@ turbostat_clean x86_energy_perf_policy_clean:
|
|||||||
tmon_clean:
|
tmon_clean:
|
||||||
$(call descend,thermal/tmon,clean)
|
$(call descend,thermal/tmon,clean)
|
||||||
|
|
||||||
clean: acpi_clean cgroup_clean cpupower_clean firewire_clean lguest_clean \
|
clean: acpi_clean cgroup_clean cpupower_clean hv_clean firewire_clean lguest_clean \
|
||||||
perf_clean selftests_clean turbostat_clean usb_clean virtio_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 x86_energy_perf_policy_clean tmon_clean
|
||||||
|
|
||||||
|
13
tools/hv/Makefile
Normal file
13
tools/hv/Makefile
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Makefile for Hyper-V tools
|
||||||
|
|
||||||
|
CC = $(CROSS_COMPILE)gcc
|
||||||
|
PTHREAD_LIBS = -lpthread
|
||||||
|
WARNINGS = -Wall -Wextra
|
||||||
|
CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS)
|
||||||
|
|
||||||
|
all: hv_kvp_daemon hv_vss_daemon
|
||||||
|
%: %.c
|
||||||
|
$(CC) $(CFLAGS) -o $@ $^
|
||||||
|
|
||||||
|
clean:
|
||||||
|
$(RM) hv_kvp_daemon hv_vss_daemon
|
Loading…
Reference in New Issue
Block a user