Add sourcehut builds
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..16ddb16
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,16 @@
+image: debian/stable
+sources:
+  - https://git.sr.ht/~swisschili/bluejay
+packages:
+  - build-essential
+  - gcc-multilib
+  - m4
+  - python3
+  - gawk
+  - nasm
+tasks:
+  - build-kernel: |
+      cd bluejay
+      ./bin/jmk
+      cd src/kernel
+      make
diff --git a/bin/jmk b/bin/jmk
index ffd3993..5730b5f 100755
--- a/bin/jmk
+++ b/bin/jmk
@@ -2,8 +2,7 @@
 
 # Jay MaKe
 
-dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
-root="$(dirname $dir)"
+root="$(pwd)"
 jmkscript="$root/share/jmk/jmk.m4"
 
 for file in $(find -name Jmk); do
diff --git a/src/kernel/dri/pci/Jmk b/src/kernel/dri/pci/Jmk
index cca12a3..c95292b 100644
--- a/src/kernel/dri/pci/Jmk
+++ b/src/kernel/dri/pci/Jmk
@@ -14,7 +14,7 @@
 
 vendors.c: vendors.csv vendors_to_h.awk
 	status_log(AWK, vendors.csv)
-	@awk -f vendors_to_h.awk vendors.csv > $@
+	@dos2unix < vendors.csv | awk -f vendors_to_h.awk > $@
 
 type(static_lib)