Source: leds-alix
Version: 0.0.1-1.2
Severity: grave
Tags: bullseye sid patch
The Makefile in leds-alix invokes the kernel build system with the
SUBDIRS variable set. This was deprecated long ago and is no longer
supported since Linux 5.3. The patch below allows it to build again,
though I don't know whether it *works*.
Ben.
--- a/Makefile
+++ b/Makefile
@@ -19,10 +19,10 @@
all: $(MODULE)
$(MODULE): $(SOURCE)
- $(MAKE) -C $(KERNEL_DIR) SUBDIRS=$(PWD) modules
+ $(MAKE) -C $(KERNEL_DIR) M=$(PWD) modules
install: $(MODULE)
- $(MAKE) -C $(KERNEL_DIR) SUBDIRS=$(PWD)
INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) modules_install
+ $(MAKE) -C $(KERNEL_DIR) M=$(PWD) INSTALL_MOD_DIR=$(INSTALL_MOD_DIR)
modules_install
depmod -ae
uninstall:
--- END ---
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500,
'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-5-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled