aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTimos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>2024-09-04 17:45:42 +0300
committerTimos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>2024-09-06 13:14:34 +0300
commit8948c9808eded80772de98cd4e8dd0cc71fdbe17 (patch)
treea841211f6e82ed15db62a06914e5fc214e67cf16 /Makefile
parent78268b295615143255c9968087897226e9c16053 (diff)
virtio-loopback-driver - multi-device supportHEADmaster
Updates [v1]: - The driver to handle multiple adapter instances. - The source code is restructured and splitted into: "virtio_loopback_driver.c" and "virtio_loopback_device.c". - Notification mechanism is based on workqueues Updates [v2]: - Update module final name to 'virtio_loopback' - Update the README file, add tested platforms - Fix indents, typos Bug-AGL: SPEC-4834 Change-Id: Ifef4cb222652c3e8584849d257d84abc7c7ba1b5 Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 0cbef1c..456c952 100644
--- a/Makefile
+++ b/Makefile
@@ -15,16 +15,17 @@
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
-NAME_C=loopback_driver
-
LINUX_DIR ?= /lib/modules/$(shell uname -r)/build
-obj-m += $(NAME_C).o
+virtio_loopback-objs := virtio_loopback_driver.o virtio_loopback_device.o
+obj-m += virtio_loopback.o
ifeq ($(DEBUG), 1)
ccflags-y += -DDEBUG
endif
+CFLAGS := -Wall -Wextra -Werror
+
all:
make -C $(LINUX_DIR) M=$(PWD) modules