From: mettacrawler Date: Sun, 29 Apr 2018 17:07:08 +0000 (-0400) Subject: Support Arch X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3436b280785dbb05a73c5468d09d1e49e8ce09c9;p=groeck-it87 Support Arch Arch uses /proc/kallsyms and /proc/config.gz by default instead of /boot/System.map* and /boot/config* --- diff --git a/Makefile b/Makefile index de8e0d4..bb63183 100644 --- 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/*)")