]> git.sur5r.net Git - groeck-it87/blobdiff - Makefile
Add driver removal notice
[groeck-it87] / Makefile
index de8e0d42a57f75616f98ad8829414521f56b2d66..bb631830f420dd9c21906b3aae023fb26dff553d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,12 @@ endif
 endif
 
 #SYSTEM_MAP    := $(KERNEL_BUILD)/System.map
+ifneq ("","$(wildcard /boot/System.map-$(TARGET))")
 SYSTEM_MAP     := /boot/System.map-$(TARGET)
+else
+# Arch
+SYSTEM_MAP     := /proc/kallsyms
+endif
 
 DRIVER := it87
 ifneq ("","$(wildcard .git/*)")