glibc: move version handling to Config.in

Like we do elsewhere. No functional change, but nicer and easier to keep in
sync.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2014-06-01 21:33:58 +02:00
parent fb48cdee66
commit 990a46fdec
2 changed files with 8 additions and 0 deletions

View File

@ -32,3 +32,10 @@ config BR2_GLIBC_VERSION_2_19
endchoice
endif
config BR2_GLIBC_VERSION_STRING
string
default "2.18-svnr23787" if BR2_EGLIBC_VERSION_2_18
default "2.19-svnr25243" if BR2_EGLIBC_VERSION_2_19
default "2.18" if BR2_GLIBC_VERSION_2_18
default "2.19" if BR2_GLIBC_VERSION_2_19

View File

@ -16,6 +16,7 @@ GLIBC_SOURCE = glibc-$(GLIBC_VERSION).tar.xz
GLIBC_SRC_SUBDIR = .
endif
GLIBC_VERSION = $(call qstrip,$(BR2_GLIBC_VERSION_STRING))
GLIBC_LICENSE = GPLv2+ (programs), LGPLv2.1+, BSD-3c, MIT (library)
GLIBC_LICENSE_FILES = $(addprefix $(GLIBC_SRC_SUBDIR)/,COPYING COPYING.LIB LICENSES)