We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e5f53a commit 42ffe24Copy full SHA for 42ffe24
tools/testing/vsock/Makefile
@@ -13,3 +13,16 @@ CFLAGS += -g -O2 -Werror -Wall -I. -I../../include -I../../../usr/include -Wno-p
13
clean:
14
${RM} *.o *.d vsock_test vsock_diag_test vsock_perf vsock_uring_test
15
-include *.d
16
+
17
+VSOCK_INSTALL_PATH ?=
18
19
+install: all
20
+ifdef VSOCK_INSTALL_PATH
21
+ mkdir -p $(VSOCK_INSTALL_PATH)
22
+ install -m 744 vsock_test $(VSOCK_INSTALL_PATH)
23
+ install -m 744 vsock_perf $(VSOCK_INSTALL_PATH)
24
+ install -m 744 vsock_diag_test $(VSOCK_INSTALL_PATH)
25
+ install -m 744 vsock_uring_test $(VSOCK_INSTALL_PATH)
26
+else
27
+ $(error Error: set VSOCK_INSTALL_PATH to use install)
28
+endif
0 commit comments