From 3436b280785dbb05a73c5468d09d1e49e8ce09c9 Mon Sep 17 00:00:00 2001 From: mettacrawler Date: Sun, 29 Apr 2018 13:07:08 -0400 Subject: [PATCH] Support Arch Arch uses /proc/kallsyms and /proc/config.gz by default instead of /boot/System.map* and /boot/config* --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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/*)") -- 2.39.5