aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTimos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>2023-09-13 15:22:26 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-03 15:18:54 +0300
commita99fe32fc076f0654a8c8fab7a16abff42ba4218 (patch)
treecbe0643ca79b8056d46efd933a1daf61e0f79a63 /Makefile
parentcfb9918442a1a22639f55f5923e9807481cc4045 (diff)
Introduce Virtio-loopback epsilon-release:
Epsilon release introduces a new compatibility layer which make virtio-loopback design to work with QEMU and rust-vmm vhost-user backend without require any changes. Changes and fixes done during this development are: - Add new memory exchange mechanism - Update binaries command line: argument limit - Update features exchange for vhost-user-rng backend - Updare VQS index exchange process between driver and adapter - Add VHOST_RAM_SLOTS constant Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 1 insertions, 20 deletions
diff --git a/Makefile b/Makefile
index 33e75c0..b02253f 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@
#CFLAGS := -Wall -Wextra -Werror
#CFLAGS := -Wall -Wextra -Wno-unused-variable -Wno-unused-function
CFLAGS := -Wno-unused-variable -Wno-unused-function -D_GNU_SOURCE
-CFLAGS = -D_GNU_SOURCE -O2
+CFLAGS = -D_GNU_SOURCE -O2 -static
CC ?=
ifeq ($(ARCH), arm64)
@@ -31,25 +31,6 @@ else
CC ?= gcc
endif
-ifeq ($(VHOST_USER_RNG), 1)
- CFLAGS += -DVHOST_USER_RNG_DEV
- CFLAGS += -DVHOST_USER
-endif
-
-ifeq ($(VHOST_USER_BLK), 1)
- CFLAGS += -DVHOST_USER_BLK_DEV
- CFLAGS += -DVHOST_USER
-endif
-
-ifeq ($(VHOST_USER_INPUT), 1)
- CFLAGS += -DVHOST_USER_INPUT_DEV
- CFLAGS += -DVHOST_USER
-endif
-
-ifeq ($(VIRTIO_RNG), 1)
- CFLAGS += -DVIRTIO_RNG
-endif
-
INCL += -I .
DEPS = adapter.h vhost_user_loopback.h event_notifier.h virtio_loopback.h
SRC_C = event_notifier.c vhost_user_loopback.c virtio_loopback.c virtio_rng.c virtio_input.c vhost_user_input.c vhost_user_blk.c vhost_user_rng.c vhost_loopback.c adapter.c