PredatorSense replacement for the Acer Predator Helios 16 (PH16-71) on Linux: - predatord: root service for profiles, fans (incl. temperature curves), keyboard RGB, lightbar and battery health; restores settings at boot and after resume, switches profiles on AC/battery changes - Qt desktop app with dashboard, fan curve editor and per-key RGB studio - Plasma 6 panel widget with quick controls - predatorctl command line tool - predator_wmi kernel module (DKMS) as a minimal WMI method bridge Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
373 B
Makefile
13 lines
373 B
Makefile
obj-m := predator_wmi.o
|
|
|
|
KVER ?= $(shell uname -r)
|
|
KDIR ?= /lib/modules/$(KVER)/build
|
|
# Kernels built with clang/LLD (e.g. CachyOS) need the same toolchain for modules.
|
|
LLVM_FLAG := $(shell grep -qs '^CONFIG_CC_IS_CLANG=y' $(KDIR)/.config && echo LLVM=1)
|
|
|
|
all:
|
|
$(MAKE) -C $(KDIR) M=$(CURDIR) $(LLVM_FLAG) modules
|
|
|
|
clean:
|
|
$(MAKE) -C $(KDIR) M=$(CURDIR) $(LLVM_FLAG) clean
|