mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 04:10:51 +07:00
50fe6dd100
Use the local uapi headers to keep in sync with "recently" added #define's
(e.g. VSS_OP_REGISTER1).
Fixes: 3eb2094c59
("Adding makefile for tools/hv")
Cc: <stable@vger.kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
16 lines
386 B
Makefile
16 lines
386 B
Makefile
# Makefile for Hyper-V tools
|
|
|
|
CC = $(CROSS_COMPILE)gcc
|
|
PTHREAD_LIBS = -lpthread
|
|
WARNINGS = -Wall -Wextra
|
|
CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) $(shell getconf LFS_CFLAGS)
|
|
|
|
CFLAGS += -D__EXPORTED_HEADERS__ -I../../include/uapi -I../../include
|
|
|
|
all: hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon
|
|
%: %.c
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
clean:
|
|
$(RM) hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon
|