summaryrefslogtreecommitdiffstats
path: root/legacy-driver-guest/Makefile
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-23 06:06:26 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-23 06:06:26 -0400
commit333d6de1e764edc176b0003af095cee4888ecd2c (patch)
tree0c6db46fe05f56e33ba13c3dd3c6e667c0ed8e42 /legacy-driver-guest/Makefile
parent2302fc09080bad51c73f293294e19fd4db464eb0 (diff)
downloadopen-iov-333d6de1e764edc176b0003af095cee4888ecd2c.tar.gz
open-iov-333d6de1e764edc176b0003af095cee4888ecd2c.zip
Untrack legacy trees and purely legacy docs (kept locally)
- patches/ -> legacy-patches/ (gitignored) - legacy-driver-guest/ (old guest vGPU driver, gitignored) - docs/old/ (superseded architecture write-up, gitignored) - docs that only reference the legacy components stay tracked; their path references now point at legacy-patches/ - install.sh PATCH_DIR updated
Diffstat (limited to 'legacy-driver-guest/Makefile')
-rw-r--r--legacy-driver-guest/Makefile44
1 files changed, 0 insertions, 44 deletions
diff --git a/legacy-driver-guest/Makefile b/legacy-driver-guest/Makefile
deleted file mode 100644
index 4675cbf..0000000
--- a/legacy-driver-guest/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-# GSP vGPU-IO Driver Makefile
-
-obj-m += gsp-vgpu.o
-
-gsp-vgpu-y := \
- core/gsp_core.o \
- rpc/gsp_rpc.o \
- vf/gsp_vf.o \
- bar/gsp_bar.o \
- wpr/gsp_wpr.o \
- migration/gsp_migration.o \
- debugfs/gsp_debugfs.o
-
-ccflags-y += -I$(src)/include
-ccflags-y += -I$(src)/../kernel/include
-
-# Build against the kernel source
-KDIR ?= /lib/modules/$(shell uname -r)/build
-
-all:
- $(MAKE) -C $(KDIR) M=$(PWD) modules
-
-clean:
- $(MAKE) -C $(KDIR) M=$(PWD) clean
-
-install:
- $(MAKE) -C $(KDIR) M=$(PWD) modules_install
-
-load: all
- sudo insmod gsp-vgpu.ko firmware_name=gsp-570.144.fwimage.bin
-
-unload:
- sudo rmmod gsp-vgpu
-
-test: all load
- @echo "Driver loaded, checking status..."
- sleep 2
- dmesg -T | tail -20
- @echo "Checking debugfs..."
- ls -la /sys/kernel/debug/gsp-vgpu/ 2>/dev/null || echo "Debugfs not available"
- @echo "Checking device nodes..."
- ls -la /dev/gsp-vgpu* 2>/dev/null || echo "No device nodes"
-
-.PHONY: all clean install load unload test \ No newline at end of file