aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2003-01-25 11:39:56 -0600
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2003-01-25 11:39:56 -0600
commit6ef80ec1e753a850da410ec592bf52cb14dc77d3 (patch)
tree2b290db785f3701c53eba59a4cdb29a3f8dd8889 /Makefile
parente9aff3178f09e5281ddc4bb1220a9acc64888421 (diff)
downloadhistory-6ef80ec1e753a850da410ec592bf52cb14dc77d3.tar.gz
kbuild: Move the definition of MODVERDIR
MODVERDIR was defined in the build-only section, but it's needed for "make mrproper" as well.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 55dbb1e29dcbf3..f2904aa745d785 100644
--- a/Makefile
+++ b/Makefile
@@ -183,6 +183,8 @@ export CPPFLAGS NOSTDINC_FLAGS OBJCOPYFLAGS LDFLAGS
export CFLAGS CFLAGS_KERNEL CFLAGS_MODULE
export AFLAGS AFLAGS_KERNEL AFLAGS_MODULE
+export MODVERDIR := .tmp_versions
+
# The temporary file to save gcc -MD generated dependencies must not
# contain a comma
depfile = $(subst $(comma),_,$(@D)/.$(@F).d)
@@ -272,8 +274,6 @@ endif
endif
endif
-export MODVERDIR := .tmp_versions
-
#
# INSTALL_PATH specifies where to place the updated kernel and system map
# images. Uncomment if you want to place them anywhere other than root.