From 3c79c44553b0233aff6cb751aa48933d53467613 Mon Sep 17 00:00:00 2001 From: Philipp Paulweber Date: Wed, 28 Aug 2019 17:47:47 +0200 Subject: [PATCH] Script: updated kernel modules dependency generation --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3bb92c3..d523250 100644 --- a/Makefile +++ b/Makefile @@ -3,8 +3,9 @@ VERSION=5.1.5 PREFIX=linux POSTFIX=mba -KERNEL=$(PREFIX)-$(VERSION)-$(POSTFIX)+ -MODULE=/lib/modules/$(VERSION)-$(POSTFIX) +UNAME=$(VERSION)-$(POSTFIX)+ +KERNEL=$(PREFIX)-$(UNAME) +MODULE=/lib/modules/$(UNAME) BCE_SOURCES=https://github.com/MCMrARM/mbp2018-bridge-drv BCE_VERSION=master @@ -77,7 +78,7 @@ install-modules: $(MODULE)/kernel/extra @echo "-- Installing applespi module" cp -f linux-module-applespi/applespi.ko $(MODULE)/kernel/extra/ @echo "-- Updating Linux kernel module dependencies" - depmod -a + depmod -a $(UNAME) install-systemd: @echo "-- Installing systemd configuration"