package/glibc: remove GLIBC_SRC_SUBDIR

GLIBC_SRC_SUBDIR was needed when Buildroot supported
eglibc which stored all sources in a sub-directory.
It was not removed by the commit removing eglibc support [1].

[1] 500de2598a

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Romain Naour 2018-02-05 21:57:15 +01:00 committed by Thomas Petazzoni
parent f1d4756d46
commit 30daaed193

View File

@ -20,10 +20,8 @@ GLIBC_VERSION = glibc-2.26-107-g73a92363619e52c458146e903dfb9b1ba823aa40
GLIBC_SITE = $(call github,bminor,glibc,$(GLIBC_VERSION)) GLIBC_SITE = $(call github,bminor,glibc,$(GLIBC_VERSION))
endif endif
GLIBC_SRC_SUBDIR = .
GLIBC_LICENSE = GPL-2.0+ (programs), LGPL-2.1+, BSD-3-Clause, MIT (library) GLIBC_LICENSE = GPL-2.0+ (programs), LGPL-2.1+, BSD-3-Clause, MIT (library)
GLIBC_LICENSE_FILES = $(addprefix $(GLIBC_SRC_SUBDIR)/,COPYING COPYING.LIB LICENSES) GLIBC_LICENSE_FILES = COPYING COPYING.LIB LICENSES
# glibc is part of the toolchain so disable the toolchain dependency # glibc is part of the toolchain so disable the toolchain dependency
GLIBC_ADD_TOOLCHAIN_DEPENDENCY = NO GLIBC_ADD_TOOLCHAIN_DEPENDENCY = NO
@ -86,7 +84,7 @@ define GLIBC_CONFIGURE_CMDS
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \
CFLAGS="-O2 $(GLIBC_EXTRA_CFLAGS)" CPPFLAGS="" \ CFLAGS="-O2 $(GLIBC_EXTRA_CFLAGS)" CPPFLAGS="" \
CXXFLAGS="-O2 $(GLIBC_EXTRA_CFLAGS)" \ CXXFLAGS="-O2 $(GLIBC_EXTRA_CFLAGS)" \
$(SHELL) $(@D)/$(GLIBC_SRC_SUBDIR)/configure \ $(SHELL) $(@D)/configure \
ac_cv_path_BASH_SHELL=/bin/bash \ ac_cv_path_BASH_SHELL=/bin/bash \
libc_cv_forced_unwind=yes \ libc_cv_forced_unwind=yes \
libc_cv_ssp=no \ libc_cv_ssp=no \