Blob Blame History Raw
From 2873c18cc963df55b49f1cf01a4577762aca24b1 Mon Sep 17 00:00:00 2001
From: Michal Suchanek <msuchanek@suse.de>
Date: Fri, 9 Aug 2019 12:04:46 +0200
Subject: [PATCH] Bring back MODVERDIR to Makefile.modpost

References: bsc#1066369
Patch-mainline: Never, SUSE specific

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
---
 scripts/Makefile.modpost |    2 ++
 1 file changed, 2 insertions(+)

--- a/scripts/Makefile.modpost
+++ b/scripts/Makefile.modpost
@@ -48,6 +48,8 @@ include scripts/Kbuild.include
 kernelsymfile := $(objtree)/Module.symvers
 modulesymfile := $(firstword $(KBUILD_EXTMOD))/Module.symvers
 
+MODVERDIR := $(if $(KBUILD_EXTMOD),$(firstword $(KBUILD_EXTMOD))/).tmp_versions
+
 MODPOST = scripts/mod/modpost								\
 	$(if $(CONFIG_MODVERSIONS),-m)							\
 	$(if $(CONFIG_MODULE_SRCVERSION_ALL),-a)					\