about summary refs log tree commit diff
path: root/Makeconfig
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig14
1 files changed, 0 insertions, 14 deletions
diff --git a/Makeconfig b/Makeconfig
index 1948e79512..8cdf8c6a76 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -657,15 +657,6 @@ ifndef BUILD_CC
 BUILD_CC = $(CC)
 endif
 
-# Figure out the version numbers from version.h.
-
-$(common-objpfx)version.mk: $(..)version.h $(..)Makeconfig
-	sed -n -e 's/^.*RELEASE.*"\([^"]*\)".*$$/release=\1/p' \
-	       -e 's/^.*VERSION.*"\([^"]*\)".*$$/version=\1/p' \
-	    < $< > $@-new
-	mv -f $@-new $@
-
-common-generated += version.mk
 
 ifeq (yes, $(build-shared))
 
@@ -704,11 +695,6 @@ endif
 
 postclean-generated += soversions.mk
 
-ifndef avoid-generated
-# Get $(version) defined with the release version number.
--include $(common-objpfx)version.mk
-endif
-
 # Generate the header containing the names of all shared libraries.
 # We use a stamp file to avoid uncessary recompilations.
 before-compile += $(common-objpfx)gnu/lib-names.h