From d228a12f1caabdbcf15a757a0999e7da57ba374d Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Mon, 16 Nov 2020 22:01:23 -0600 Subject: [PATCH] vpmadt032: Create .o.cmd file for the shipped object file. Kernel version 5.8, in commit "modpost: use read_text_file() and get_line() for reading text files" [1] made it an error if the .o.cmd file is missing. However, this file is not generated for shipped .o files. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=70f30cfe5b892fcb7f98e7df72ed6ccfe3225628 Signed-off-by: Shaun Ruffell --- drivers/dahdi/Kbuild | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dahdi/Kbuild b/drivers/dahdi/Kbuild index 855e5bf..283aff2 100644 --- a/drivers/dahdi/Kbuild +++ b/drivers/dahdi/Kbuild @@ -127,6 +127,7 @@ dahdi_vpmadt032_loader-objs := vpmadt032_loader/dahdi_vpmadt032_loader.o ifneq ($(DAHDI_ARCH),) ifneq ($(wildcard $(src)/vpmadt032_loader/vpmadt032_$(DAHDI_ARCH).o_shipped),) + $(shell touch $(KBUILD_EXTMOD)/vpmadt032_loader/.vpmadt032_$(DAHDI_ARCH).o.cmd) VPMADT032_LOADER_PRESENT=yes dahdi_vpmadt032_loader-objs += vpmadt032_loader/vpmadt032_$(DAHDI_ARCH).o obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_VPMADT032_LOADER) += dahdi_vpmadt032_loader.o