firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-drivers_char_sunxi-sy...

19 lines
489 B
Diff

diff -drupN a/drivers/char/sunxi-sysinfo/Makefile b/drivers/char/sunxi-sysinfo/Makefile
--- a/drivers/char/sunxi-sysinfo/Makefile 1970-01-01 03:00:00.000000000 +0300
+++ b/drivers/char/sunxi-sysinfo/Makefile 2022-06-12 05:28:14.000000000 +0300
@@ -0,0 +1,14 @@
+#
+# Makefile for sunxi system information driver
+#
+
+obj-$(CONFIG_SUNXI_SYS_INFO) += sysinfo.o
+
+sysinfo-y += sunxi-sysinfo.o
+
+ifdef CONFIG_SUNXI_SMC
+sysinfo-y += sunxi-smc.o smc_call.o
+endif
+
+#ccflags-y += -DDEBUG
+