spec(reimaden): add platform support kernel module

This commit is contained in:
514fpv 2024-02-14 03:23:48 +08:00
parent 1c95aba389
commit a23ec8f250
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
26 changed files with 2071 additions and 0 deletions

View file

@ -0,0 +1,25 @@
# SPDX-License-Identifier: GPL-2.0
PWD := $(shell pwd)
MODNAME = ac71
MODVER = 0.0
obj-m += $(MODNAME).o
# alphabetically sorted
$(MODNAME)-y += ec.o \
main.o \
misc.o \
pdev.o \
events.o \
$(MODNAME)-$(CONFIG_ACPI_BATTERY) += battery.o
$(MODNAME)-$(CONFIG_HWMON) += hwmon.o hwmon_fan.o hwmon_pwm.o fan.o
all:
$(MAKE) -C $(KERNEL_DIR) M=$(PWD) modules
install:
$(MAKE) -C $(KERNEL_DIR) M=$(PWD) modules_install
clean:
$(MAKE) -C $(KERNEL_DIR) M=$(PWD) clean