Skip to content

Commit 05e632e

Browse files
committed
Compile virtio-net.c into virtio-net.o during build process
Added compilation rule to include virtio-net.c and generate virtio-net.o object file in the Makefile. This change ensures that the virtio-net functionality is compiled and linked correctly into the project.
1 parent 6e748e4 commit 05e632e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ OBJS := \
3131
virtq.o \
3232
virtio-blk.o \
3333
diskimg.o \
34-
main.o
34+
main.o \
35+
virtio-net.o
3536

3637
ifeq ($(ARCH), x86_64)
3738
CFLAGS += -I$(PWD)/src/arch/x86

0 commit comments

Comments
 (0)