summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorreo <emmadoth@protonmail.com>2023-01-04 23:56:31 +0100
committerreo <emmadoth@protonmail.com>2023-01-04 23:56:31 +0100
commit04992be7b3e6b30a504852b4d525f2f2645b6690 (patch)
tree6b4e179ee204cfe39a4bce854db584e580c9e649 /README
parenta36bc986ad2a4d1ee6ae2f4531fbfafbf73fd47b (diff)
separate makefiles for WSL and linux
Diffstat (limited to 'README')
-rw-r--r--README15
1 files changed, 15 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..e92cfd7
--- /dev/null
+++ b/README
@@ -0,0 +1,15 @@
+if on wsl:
+ `cp Makefile-wsl Makefile`
+then clone the WSL kernel, build it and set $WSLKERN to the kernel folder
+
+if on linux:
+ `cp Makefile-linux Makefile`
+
+```
+make
+sudo insmod kworm.ko
+# get major number from kernel log
+sudo mknod /dev/worm c <major number> 0
+cat /dev/worm
+```
+