Radix cross Linux Toolchains

Toolchains for all supported by Radix cross Linux devices

42 Commits   1 Branch   8 Tags
Index: gcc/12.2.0/Makefile
===================================================================
--- gcc/12.2.0/Makefile	(revision 10)
+++ gcc/12.2.0/Makefile	(revision 11)
@@ -71,10 +71,10 @@
 REQUIRES  = core/binutils/2.40
 endif
 ifeq ($(FLAVOUR),second)
-REQUIRES  = core/glibc/2.36^headers
+REQUIRES  = core/glibc/2.37^headers
 endif
 ifeq ($(FLAVOUR),full)
-REQUIRES  = core/glibc/2.36^full
+REQUIRES  = core/glibc/2.37^full
 endif
 endif
 
Index: glibc/2.36-ppc32/PATCHES
===================================================================
--- glibc/2.36-ppc32/PATCHES	(revision 10)
+++ glibc/2.36-ppc32/PATCHES	(nonexistent)
@@ -1,10 +0,0 @@
-
-../../../sources/GNU/glibc/patches/glibc-2.36-b3736d1a3c-2.36.1.patch  -p0
-../../../sources/GNU/glibc/patches/glibc-2.36-reenable-DT-HASH.patch   -p0
-../../../sources/GNU/glibc/patches/glibc-2.36-i18n.patch               -p0
-../../../sources/GNU/glibc/patches/glibc-2.36-locale-no-archive.patch  -p0
-../../../sources/GNU/glibc/patches/glibc-2.36-malloc-hooks.patch       -p0
-../../../sources/GNU/glibc/patches/glibc-2.36-en_US-no-am-pm.patch     -p0
-
-../../../sources/GNU/glibc/patches/glibc-2.36-ppc64-interpreter.patch  -p0
-../../../sources/GNU/glibc/patches/glibc-2.36-x86_64-interpreter.patch -p0
Index: glibc/2.36-ppc32/Makefile
===================================================================
--- glibc/2.36-ppc32/Makefile	(revision 10)
+++ glibc/2.36-ppc32/Makefile	(nonexistent)
@@ -1,147 +0,0 @@
-
-
-COMPONENT_TARGETS  = $(TOOLCHAIN_POWER8_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_POWER9_GLIBC)
-
-FLAVOURS = headers full
-
-include ../../../build-system/config.mk
-
-SOURCE_REQUIRES = sources/GNU/glibc
-
-ifeq ($(FLAVOUR),headers)
-REQUIRES  = core/linux/6.0.7
-endif
-
-ifeq ($(FLAVOUR),full)
-REQUIRES  = core/gcc/12.2.0^second
-endif
-
-# ======= __END_OF_REQUIRES__ =======
-
-tar_xz_archive  = $(SRC_PACKAGE_PATH)/GNU/glibc/glibc-2.36.tar.xz
-SRC_ARCHIVE     = $(tar_xz_archive)
-SRC_DIR         = $(TARGET_BUILD_DIR)/glibc-2.36
-src_dir_name    = glibc-2.36
-src_done        = $(TARGET_BUILD_DIR)/.source-done
-
-PATCHES         = PATCHES
-
-full_dir        = $(TARGET_BUILD_DIR)/build-full
-headers_dir     = $(TARGET_BUILD_DIR)/build-headers
-
-sysroot_dir     = $(TOOLCHAIN_PATH)/$(TARGET)/sys-root
-
-headers_target  = $(TARGET_BUILD_DIR)/.headers-installed
-full_target     = $(TARGET_BUILD_DIR)/.installed
-
-
-
-ifeq ($(FLAVOUR),headers)
-BUILD_TARGETS = $(headers_target)
-endif
-
-ifeq ($(FLAVOUR),full)
-BUILD_TARGETS = $(full_target)
-endif
-
-include ../../../build-system/core.mk
-
-
-env_sysroot     = install_root=$(sysroot_dir)
-
-
-CC           = $(CCACHE)$(TOOLCHAIN_PATH)/bin/$(TARGET)-gcc -m32
-CXX          = $(CCACHE)$(TOOLCHAIN_PATH)/bin/$(TARGET)-g++ -m32
-
-environment  = AS=$(TOOLCHAIN_PATH)/bin/$(TARGET)-as
-environment += LD=$(TOOLCHAIN_PATH)/bin/$(TARGET)-ld
-environment += CC="$(CC)"
-environment += CXX="$(CXX)"
-environment += AR=$(TOOLCHAIN_PATH)/bin/$(TARGET)-ar
-environment += RANLIB=$(TOOLCHAIN_PATH)/bin/$(TARGET)-ranlib
-
-environment += PATH=$(TOOLCHAIN_PATH)/bin:$(PATH)
-
-environment += BUILD_CC="$(CCACHE)/usr/bin/gcc"
-
-LIBSUFFIX    =
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC))
-environment += CFLAGS="-g -O3 -mcpu=power8 -mlong-double-128"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_POWER9_GLIBC))
-environment += CFLAGS="-g -O3 -mcpu=power9 -mlong-double-128"
-endif
-
-LIBSUFFIX    = 32
-
-TARGET32 = $(shell echo $(TARGET) | sed 's/ppc64/ppc/')
-
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER9_GLIBC)),)
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.2.0
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.2.0
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-
-extra_configure_switches  += libc_cv_slibdir=/lib$(LIBSUFFIX)
-extra_configure_switches  += libc_cv_rtlddir=/lib$(LIBSUFFIX)
-
-
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
-	$(UNPACK_SRC_ARCHIVE)
-	$(APPLY_PATCHES)
-	@touch $@
-
-$(headers_target): $(src_done)
-	@mkdir -p $(headers_dir)
-	@cd $(headers_dir) && $(env_sysroot) $(environment) ../$(src_dir_name)/configure \
-	  --prefix=/usr                \
-	  --build=$(BUILD)             \
-	  --host=$(TARGET32)           \
-	  $(extra_configure_switches)
-	@cd $(headers_dir) && $(MAKE) -j1 install-headers \
-	                                  install-bootstrap-headers=yes $(env_sysroot)
-	@cd $(headers_dir) && $(environment) $(MAKE) -j1 csu/subdir_lib
-	# ======= install 'lib-names-32.h' =======
-	@mkdir -p $(sysroot_dir)/usr/include/gnu
-	@install --mode=0644 $(headers_dir)/gnu/lib-names-32.h $(sysroot_dir)/usr/include/gnu
-	# ========================================
-	@cd $(headers_dir) && $(environment) $(MAKE) -j1 csu/subdir_install $(env_sysroot)
-	@$(environment) $(CC) -nostdlib -nostartfiles -shared -x c /dev/null \
-	                      -o $(sysroot_dir)/usr/lib$(LIBSUFFIX)/libc.so
-	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
-	@touch $@
-
-$(full_target): $(src_done)
-	@mkdir -p $(full_dir)
-	@echo "slibdir=/lib$(LIBSUFFIX)" >> $(full_dir)/configparms
-	@echo "rtlddir=/lib$(LIBSUFFIX)" >> $(full_dir)/configparms
-	@cd $(full_dir) && $(env_sysroot) $(environment) ../$(src_dir_name)/configure \
-	  --prefix=/usr                \
-	  --build=$(BUILD)             \
-	  --host=$(TARGET32)           \
-	  $(extra_configure_switches)
-	@cd $(full_dir) && $(environment) $(MAKE) all
-	@cd $(full_dir) && $(environment) $(MAKE) -j1 install $(env_sysroot)
-	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
-	@touch $@
Index: glibc/2.36-ppc32
===================================================================
--- glibc/2.36-ppc32	(revision 10)
+++ glibc/2.36-ppc32	(nonexistent)

Property changes on: glibc/2.36-ppc32
___________________________________________________________________
Deleted: svn:ignore
## -1,80 +0,0 ##
-
-# Target build dirs
-.noarch
-.host
-
-.arm32-newlib
-.a33xx-newlib
-.a9xx-newlib
-.h5-newlib
-.s9xx-newlib
-.rk33xx-newlib
-.m1000-newlib
-.riscv64-newlib
-.at91sam7s-newlib
-
-.a1x-glibc
-.a2x-glibc
-.a311x-glibc
-.h3-glibc
-.h5-glibc
-.imx6-glibc
-.imx6ull-glibc
-.jz47xx-glibc
-.p5600-glibc
-.m1000-glibc
-.omap543x-glibc
-.am335x-glibc
-.rk328x-glibc
-.s8xx-glibc
-.s9xx-glibc
-.a9xx-glibc
-.rk33xx-glibc
-.rk339x-glibc
-.a33xx-glibc
-.power8-glibc
-.power9-glibc
-.power8le-glibc
-.power9le-glibc
-.riscv64-glibc
-.i586-glibc
-.i686-glibc
-.x86_64-glibc
-
-# Hidden files (each file)
-.makefile
-.src_requires
-.src_requires_depend
-.dist
-
-# Destinations
-dist
-
-
-# Tarballs
-*.gz
-*.bz2
-*.xz
-*.tgz
-*.txz
-
-# Signatures
-*.asc
-*.sig
-*.sign
-*.sha1sum
-
-# Patches
-*.patch
-
-# Text files
-*.txt
-
-# Default linux config files
-*.defconfig
-
-# Object Files
-*.[ao]
-
-# backup copies
-*~
Index: glibc/2.36-x86_32/PATCHES
===================================================================
--- glibc/2.36-x86_32/PATCHES	(revision 10)
+++ glibc/2.36-x86_32/PATCHES	(nonexistent)
@@ -1,10 +0,0 @@
-
-../../../sources/GNU/glibc/patches/glibc-2.36-b3736d1a3c-2.36.1.patch  -p0
-../../../sources/GNU/glibc/patches/glibc-2.36-reenable-DT-HASH.patch   -p0
-../../../sources/GNU/glibc/patches/glibc-2.36-i18n.patch               -p0
-../../../sources/GNU/glibc/patches/glibc-2.36-locale-no-archive.patch  -p0
-../../../sources/GNU/glibc/patches/glibc-2.36-malloc-hooks.patch       -p0
-../../../sources/GNU/glibc/patches/glibc-2.36-en_US-no-am-pm.patch     -p0
-
-../../../sources/GNU/glibc/patches/glibc-2.36-ppc64-interpreter.patch  -p0
-../../../sources/GNU/glibc/patches/glibc-2.36-x86_64-interpreter.patch -p0
Index: glibc/2.36-x86_32/Makefile
===================================================================
--- glibc/2.36-x86_32/Makefile	(revision 10)
+++ glibc/2.36-x86_32/Makefile	(nonexistent)
@@ -1,141 +0,0 @@
-
-
-COMPONENT_TARGETS = $(TOOLCHAIN_X86_64_GLIBC)
-
-FLAVOURS = headers full
-
-include ../../../build-system/config.mk
-
-SOURCE_REQUIRES = sources/GNU/glibc
-
-ifeq ($(FLAVOUR),headers)
-REQUIRES  = core/linux/6.0.7
-endif
-
-ifeq ($(FLAVOUR),full)
-REQUIRES  = core/gcc/12.2.0^second
-endif
-
-# ======= __END_OF_REQUIRES__ =======
-
-tar_xz_archive  = $(SRC_PACKAGE_PATH)/GNU/glibc/glibc-2.36.tar.xz
-SRC_ARCHIVE     = $(tar_xz_archive)
-SRC_DIR         = $(TARGET_BUILD_DIR)/glibc-2.36
-src_dir_name    = glibc-2.36
-src_done        = $(TARGET_BUILD_DIR)/.source-done
-
-PATCHES         = PATCHES
-
-full_dir        = $(TARGET_BUILD_DIR)/build-full
-headers_dir     = $(TARGET_BUILD_DIR)/build-headers
-
-sysroot_dir     = $(TOOLCHAIN_PATH)/$(TARGET)/sys-root
-
-headers_target  = $(TARGET_BUILD_DIR)/.headers-installed
-full_target     = $(TARGET_BUILD_DIR)/.installed
-
-
-
-ifeq ($(FLAVOUR),headers)
-BUILD_TARGETS = $(headers_target)
-endif
-
-ifeq ($(FLAVOUR),full)
-BUILD_TARGETS = $(full_target)
-endif
-
-include ../../../build-system/core.mk
-
-
-env_sysroot     = install_root=$(sysroot_dir)
-
-
-CC           = $(CCACHE)$(TOOLCHAIN_PATH)/bin/$(TARGET)-gcc -m32
-CXX          = $(CCACHE)$(TOOLCHAIN_PATH)/bin/$(TARGET)-g++ -m32
-
-environment  = AS=$(TOOLCHAIN_PATH)/bin/$(TARGET)-as
-environment += LD=$(TOOLCHAIN_PATH)/bin/$(TARGET)-ld
-environment += CC="$(CC)"
-environment += CXX="$(CXX)"
-environment += AR=$(TOOLCHAIN_PATH)/bin/$(TARGET)-ar
-environment += RANLIB=$(TOOLCHAIN_PATH)/bin/$(TARGET)-ranlib
-
-environment += PATH=$(TOOLCHAIN_PATH)/bin:$(PATH)
-
-environment += BUILD_CC="$(CCACHE)/usr/bin/gcc"
-
-LIBSUFFIX    =
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
-environment += CFLAGS="-g -O3 -march=i686 -mtune=i686"
-LIBSUFFIX    = 32
-endif
-
-TARGET32 = $(shell echo $(TARGET) | sed 's/x86_64/i686/')
-
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=2.6.36
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=2.6.36
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-
-extra_configure_switches  += libc_cv_slibdir=/lib$(LIBSUFFIX)
-extra_configure_switches  += libc_cv_rtlddir=/lib$(LIBSUFFIX)
-
-
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
-	$(UNPACK_SRC_ARCHIVE)
-	$(APPLY_PATCHES)
-	@touch $@
-
-$(headers_target): $(src_done)
-	@mkdir -p $(headers_dir)
-	@cd $(headers_dir) && $(env_sysroot) $(environment) ../$(src_dir_name)/configure \
-	  --prefix=/usr                \
-	  --build=$(BUILD)             \
-	  --host=$(TARGET32)           \
-	  $(extra_configure_switches)
-	@cd $(headers_dir) && $(MAKE) -j1 install-headers \
-	                                  install-bootstrap-headers=yes $(env_sysroot)
-	@cd $(headers_dir) && $(environment) $(MAKE) -j1 csu/subdir_lib
-	# ======= install 'lib-names-32.h' =======
-	@mkdir -p $(sysroot_dir)/usr/include/gnu
-	@install --mode=0644 $(headers_dir)/gnu/lib-names-32.h $(sysroot_dir)/usr/include/gnu
-	# ========================================
-	@cd $(headers_dir) && $(environment) $(MAKE) -j1 csu/subdir_install $(env_sysroot)
-	@$(environment) $(CC) -nostdlib -nostartfiles -shared -x c /dev/null \
-	                      -o $(sysroot_dir)/usr/lib$(LIBSUFFIX)/libc.so
-	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
-	@touch $@
-
-$(full_target): $(src_done)
-	@mkdir -p $(full_dir)
-	@echo "slibdir=/lib$(LIBSUFFIX)" >> $(full_dir)/configparms
-	@echo "rtlddir=/lib$(LIBSUFFIX)" >> $(full_dir)/configparms
-	@cd $(full_dir) && $(env_sysroot) $(environment) ../$(src_dir_name)/configure \
-	  --prefix=/usr                \
-	  --build=$(BUILD)             \
-	  --host=$(TARGET32)           \
-	  $(extra_configure_switches)
-	@cd $(full_dir) && $(environment) $(MAKE) all
-	@cd $(full_dir) && $(environment) $(MAKE) -j1 install $(env_sysroot)
-	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
-	@touch $@
Index: glibc/2.36-x86_32
===================================================================
--- glibc/2.36-x86_32	(revision 10)
+++ glibc/2.36-x86_32	(nonexistent)

Property changes on: glibc/2.36-x86_32
___________________________________________________________________
Deleted: svn:ignore
## -1,80 +0,0 ##
-
-# Target build dirs
-.noarch
-.host
-
-.arm32-newlib
-.a33xx-newlib
-.a9xx-newlib
-.h5-newlib
-.s9xx-newlib
-.rk33xx-newlib
-.m1000-newlib
-.riscv64-newlib
-.at91sam7s-newlib
-
-.a1x-glibc
-.a2x-glibc
-.a311x-glibc
-.h3-glibc
-.h5-glibc
-.imx6-glibc
-.imx6ull-glibc
-.jz47xx-glibc
-.p5600-glibc
-.m1000-glibc
-.omap543x-glibc
-.am335x-glibc
-.rk328x-glibc
-.s8xx-glibc
-.s9xx-glibc
-.a9xx-glibc
-.rk33xx-glibc
-.rk339x-glibc
-.a33xx-glibc
-.power8-glibc
-.power9-glibc
-.power8le-glibc
-.power9le-glibc
-.riscv64-glibc
-.i586-glibc
-.i686-glibc
-.x86_64-glibc
-
-# Hidden files (each file)
-.makefile
-.src_requires
-.src_requires_depend
-.dist
-
-# Destinations
-dist
-
-
-# Tarballs
-*.gz
-*.bz2
-*.xz
-*.tgz
-*.txz
-
-# Signatures
-*.asc
-*.sig
-*.sign
-*.sha1sum
-
-# Patches
-*.patch
-
-# Text files
-*.txt
-
-# Default linux config files
-*.defconfig
-
-# Object Files
-*.[ao]
-
-# backup copies
-*~
Index: glibc/2.36/PATCHES
===================================================================
--- glibc/2.36/PATCHES	(revision 10)
+++ glibc/2.36/PATCHES	(nonexistent)
@@ -1,10 +0,0 @@
-
-../../../sources/GNU/glibc/patches/glibc-2.36-b3736d1a3c-2.36.1.patch  -p0
-../../../sources/GNU/glibc/patches/glibc-2.36-reenable-DT-HASH.patch   -p0
-../../../sources/GNU/glibc/patches/glibc-2.36-i18n.patch               -p0
-../../../sources/GNU/glibc/patches/glibc-2.36-locale-no-archive.patch  -p0
-../../../sources/GNU/glibc/patches/glibc-2.36-malloc-hooks.patch       -p0
-../../../sources/GNU/glibc/patches/glibc-2.36-en_US-no-am-pm.patch     -p0
-
-../../../sources/GNU/glibc/patches/glibc-2.36-ppc64-interpreter.patch  -p0
-../../../sources/GNU/glibc/patches/glibc-2.36-x86_64-interpreter.patch -p0
Index: glibc/2.36/Makefile
===================================================================
--- glibc/2.36/Makefile	(revision 10)
+++ glibc/2.36/Makefile	(nonexistent)
@@ -1,934 +0,0 @@
-
-
-COMPONENT_TARGETS  = $(TOOLCHAIN_A1X_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_A2X_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_H3_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_H5_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_IMX6_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_IMX6ULL_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_JZ47XX_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_P5600_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_M1000_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_OMAP543X_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_AM335X_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_RK328X_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_S8XX_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_S9XX_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_A9XX_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_A311X_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_RK33XX_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_RK339X_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_RK358X_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_A33XX_GLIBC)
-
-COMPONENT_TARGETS += $(TOOLCHAIN_POWER8_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_POWER9_GLIBC)
-
-COMPONENT_TARGETS += $(TOOLCHAIN_POWER8LE_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_POWER9LE_GLIBC)
-
-COMPONENT_TARGETS += $(TOOLCHAIN_RISCV64_GLIBC)
-
-COMPONENT_TARGETS += $(TOOLCHAIN_I586_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_I686_GLIBC)
-COMPONENT_TARGETS += $(TOOLCHAIN_X86_64_GLIBC)
-
-FLAVOURS = headers full
-
-include ../../../build-system/config.mk
-
-SOURCE_REQUIRES = sources/GNU/glibc
-
-ifeq ($(FLAVOUR),headers)
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC))
-REQUIRES  = core/linux/6.0.7
-endif
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A2X_GLIBC))
-REQUIRES  = core/linux/6.0.7
-endif
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H3_GLIBC))
-REQUIRES  = core/linux/6.0.7
-endif
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC))
-REQUIRES  = core/linux/6.0.7
-endif
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_IMX6_GLIBC))
-REQUIRES  = core/linux/6.0.7
-endif
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_IMX6ULL_GLIBC))
-REQUIRES  = core/linux/6.0.7
-endif
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC))
-REQUIRES  = core/linux/6.0.7
-endif
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_P5600_GLIBC))
-REQUIRES  = core/linux/Baikal/T1000/t1-5.15.61-5.9.31
-endif
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_M1000_GLIBC))
-REQUIRES  = core/linux/Baikal/M1000/m1-5.4.211-5.7.226
-endif
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_OMAP543X_GLIBC))
-REQUIRES  = core/linux/6.0.7
-endif
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_AM335X_GLIBC))
-REQUIRES  = core/linux/6.0.7
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK328X_GLIBC) \
-                             $(TOOLCHAIN_RK33XX_GLIBC) \
-                             $(TOOLCHAIN_RK339X_GLIBC) \
-                             $(TOOLCHAIN_RK358X_GLIBC) \
-                             $(TOOLCHAIN_A33XX_GLIBC)),)
-REQUIRES  = core/linux/6.0.7
-endif
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S8XX_GLIBC))
-REQUIRES  = core/linux/6.0.7
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC) \
-                             $(TOOLCHAIN_A9XX_GLIBC) \
-                             $(TOOLCHAIN_A311X_GLIBC)),)
-REQUIRES  = core/linux/6.0.7
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) \
-                             $(TOOLCHAIN_POWER9_GLIBC)),)
-REQUIRES  = core/glibc/2.36-ppc32^headers
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8LE_GLIBC) \
-                             $(TOOLCHAIN_POWER9LE_GLIBC)),)
-REQUIRES  = core/linux/6.0.7
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC)),)
-REQUIRES  = core/linux/6.0.7
-endif
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC))
-REQUIRES  = core/linux/6.0.7
-endif
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_I686_GLIBC))
-REQUIRES  = core/linux/6.0.7
-endif
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
-REQUIRES  = core/glibc/2.36-x86_32^headers
-endif
-endif
-
-ifeq ($(FLAVOUR),full)
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
-REQUIRES  = core/glibc/2.36-x86_32^full
-else
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) \
-                             $(TOOLCHAIN_POWER9_GLIBC)),)
-REQUIRES  = core/glibc/2.36-ppc32^full
-else
-REQUIRES  = core/gcc/12.2.0^second
-endif
-endif
-endif
-
-# ======= __END_OF_REQUIRES__ =======
-
-tar_xz_archive  = $(SRC_PACKAGE_PATH)/GNU/glibc/glibc-2.36.tar.xz
-SRC_ARCHIVE     = $(tar_xz_archive)
-SRC_DIR         = $(TARGET_BUILD_DIR)/glibc-2.36
-src_dir_name    = glibc-2.36
-src_done        = $(TARGET_BUILD_DIR)/.source-done
-
-PATCHES         = PATCHES
-
-full_dir        = $(TARGET_BUILD_DIR)/build-full
-headers_dir     = $(TARGET_BUILD_DIR)/build-headers
-
-sysroot_dir     = $(TOOLCHAIN_PATH)/$(TARGET)/sys-root
-
-headers_target  = $(TARGET_BUILD_DIR)/.headers-installed
-full_target     = $(TARGET_BUILD_DIR)/.installed
-
-
-
-ifeq ($(FLAVOUR),headers)
-BUILD_TARGETS = $(headers_target)
-endif
-
-ifeq ($(FLAVOUR),full)
-BUILD_TARGETS = $(full_target)
-endif
-
-include ../../../build-system/core.mk
-
-
-env_sysroot     = install_root=$(sysroot_dir)
-
-
-CC           = $(CCACHE)$(TOOLCHAIN_PATH)/bin/$(TARGET)-gcc
-CXX          = $(CCACHE)$(TOOLCHAIN_PATH)/bin/$(TARGET)-g++
-
-environment  = AS=$(TOOLCHAIN_PATH)/bin/$(TARGET)-as
-environment += LD=$(TOOLCHAIN_PATH)/bin/$(TARGET)-ld
-environment += CC="$(CC)"
-environment += CXX="$(CXX)"
-environment += AR=$(TOOLCHAIN_PATH)/bin/$(TARGET)-ar
-environment += RANLIB=$(TOOLCHAIN_PATH)/bin/$(TARGET)-ranlib
-
-environment += PATH=$(TOOLCHAIN_PATH)/bin:$(PATH)
-
-environment += BUILD_CC="$(CCACHE)/usr/bin/gcc"
-
-LIBSUFFIX    =
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC))
-environment += CFLAGS="-g -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A2X_GLIBC))
-environment += CFLAGS="-g -O3 -march=armv7ve -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H3_GLIBC))
-environment += CFLAGS="-g -O3 -march=armv7ve -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC))
-environment += CFLAGS="-g -O3 -march=armv8-a -mcpu=cortex-a53 -mabi=lp64"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_IMX6_GLIBC))
-environment += CFLAGS="-g -O3 -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_IMX6ULL_GLIBC))
-environment += CFLAGS="-g -O3 -march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC))
-environment += CFLAGS="-g -O2 -march=mips32r2 -mhard-float"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_P5600_GLIBC))
-environment += CFLAGS="-g -O2 -march=mips32r5 -mtune=p5600 -mhard-float"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_M1000_GLIBC))
-environment += CFLAGS="-g -O3 -march=armv8-a -mcpu=cortex-a57 -mabi=lp64"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_OMAP543X_GLIBC))
-environment += CFLAGS="-g -O3 -march=armv7ve -mtune=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_AM335X_GLIBC))
-environment += CFLAGS="-g -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK328X_GLIBC))
-environment += CFLAGS="-g -O3 -march=armv7ve -mtune=cortex-a17 -mfpu=neon-vfpv4 -mfloat-abi=hard"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S8XX_GLIBC))
-environment += CFLAGS="-g -O3 -march=armv7-a -mtune=cortex-a5 -mfpu=neon -mfloat-abi=hard"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC))
-environment += CFLAGS="-g -O3 -march=armv8-a -mcpu=cortex-a53 -mabi=lp64"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A9XX_GLIBC))
-environment += CFLAGS="-g -O3 -march=armv8-a -mfpu=neon-fp-armv8 -mfloat-abi=hard"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A311X_GLIBC))
-environment += CFLAGS="-g -O3 -march=armv8-a -mcpu=cortex-a73.cortex-a53 -mabi=lp64"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK33XX_GLIBC))
-environment += CFLAGS="-g -O3 -march=armv8-a -mcpu=cortex-a53 -mabi=lp64"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK339X_GLIBC))
-environment += CFLAGS="-g -O3 -march=armv8-a -mcpu=cortex-a72.cortex-a53 -mabi=lp64"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK358X_GLIBC))
-environment += CFLAGS="-g -O3 -march=armv8-a -mcpu=cortex-a75.cortex-a55 -mabi=lp64"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A33XX_GLIBC))
-environment += CFLAGS="-g -O3 -march=armv8-a -mfpu=neon-fp-armv8 -mfloat-abi=hard"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC))
-environment += CFLAGS="-g -O3 -mcpu=power8 -mlong-double-128"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_POWER9_GLIBC))
-environment += CFLAGS="-g -O3 -mcpu=power9 -mlong-double-128"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_POWER8LE_GLIBC))
-environment += CFLAGS="-g -O3 -mcpu=power8 -mlong-double-128"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_POWER9LE_GLIBC))
-environment += CFLAGS="-g -O3 -mcpu=power9 -mlong-double-128"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC))
-environment += CFLAGS="-g -O3 -march=rv64gc -mcmodel=medany"
-endif
-
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC))
-environment += CFLAGS="-g -O3 -march=i586 -mtune=i586"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_I686_GLIBC))
-environment += CFLAGS="-g -O3"
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
-environment += CFLAGS="-g -O3"
-endif
-
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC)      \
-                             $(TOOLCHAIN_A2X_GLIBC)      \
-                             $(TOOLCHAIN_H3_GLIBC)       \
-                             $(TOOLCHAIN_IMX6_GLIBC)     \
-                             $(TOOLCHAIN_IMX6ULL_GLIBC)  \
-                             $(TOOLCHAIN_OMAP543X_GLIBC) \
-                             $(TOOLCHAIN_AM335X_GLIBC)   \
-                             $(TOOLCHAIN_RK328X_GLIBC)   \
-                             $(TOOLCHAIN_S8XX_GLIBC)     \
-                             $(TOOLCHAIN_A9XX_GLIBC)     \
-                             $(TOOLCHAIN_A33XX_GLIBC)),)
-LIB_NAMES_SUFFIX = hard
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC) $(TOOLCHAIN_P5600_GLIBC)),)
-LIB_NAMES_SUFFIX = o32_hard
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC)     \
-                             $(TOOLCHAIN_S9XX_GLIBC)   \
-                             $(TOOLCHAIN_A311X_GLIBC)  \
-                             $(TOOLCHAIN_RK33XX_GLIBC) \
-                             $(TOOLCHAIN_RK339X_GLIBC) \
-                             $(TOOLCHAIN_RK358X_GLIBC) \
-                             $(TOOLCHAIN_M1000_GLIBC)),)
-LIB_NAMES_SUFFIX = lp64
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC) $(TOOLCHAIN_I686_GLIBC)),)
-LIB_NAMES_SUFFIX = 32
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER9_GLIBC)),)
-LIB_NAMES_SUFFIX = 64-v1
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8LE_GLIBC) $(TOOLCHAIN_POWER9LE_GLIBC)),)
-LIB_NAMES_SUFFIX = 64-v2
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC)),)
-LIB_NAMES_SUFFIX = lp64d
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
-LIB_NAMES_SUFFIX = 64
-endif
-
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.0.52
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.0.52
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A2X_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.0.52
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.0.52
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H3_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=4.14.52
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=4.14.52
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=4.14.52
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=4.14.52
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_IMX6_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.0.35
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.0.35
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_IMX6ULL_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.0.35
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.0.35
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.0.52
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.0.52
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_P5600_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.0.52
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.0.52
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_M1000_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=4.9.14
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=4.9.14
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_OMAP543X_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=2.6.36
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=2.6.36
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_AM335X_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.0.52
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.0.52
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK33XX_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.14.29
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.14.29
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK339X_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.14.29
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.14.29
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK358X_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.14.29
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.14.29
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A33XX_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.14.29
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.14.29
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK328X_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.0.52
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.0.52
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S8XX_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.10.33
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.10.33
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.14.29
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.14.29
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A9XX_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.14.29
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.14.29
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A311X_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.14.29
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.14.29
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER9_GLIBC)),)
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.2.0
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.2.0
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8LE_GLIBC) $(TOOLCHAIN_POWER9LE_GLIBC)),)
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.2.0
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=3.2.0
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC)),)
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=5.8.0
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=5.8.0
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=2.6.36
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=2.6.36
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_I686_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=2.6.36
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=2.6.36
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
-extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
-ifeq ($(FLAVOUR),headers)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=2.6.36
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-ifeq ($(FLAVOUR),full)
-extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
-extra_configure_switches  += --enable-kernel=2.6.36
-extra_configure_switches  += --disable-profile
-extra_configure_switches  += --enable-bind-now
-extra_configure_switches  += --without-gd
-extra_configure_switches  += --without-cvs
-endif
-endif
-
-
-extra_configure_switches  += libc_cv_slibdir=/lib$(LIBSUFFIX)
-extra_configure_switches  += libc_cv_rtlddir=/lib$(LIBSUFFIX)
-
-
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
-	$(UNPACK_SRC_ARCHIVE)
-	$(APPLY_PATCHES)
-	@touch $@
-
-$(headers_target): $(src_done)
-	@mkdir -p $(headers_dir)
-	@cd $(headers_dir) && $(env_sysroot) $(environment) ../$(src_dir_name)/configure \
-	  --prefix=/usr                \
-	  --build=$(BUILD)             \
-	  --host=$(TARGET)             \
-	  $(extra_configure_switches)
-	@cd $(headers_dir) && $(MAKE) -j1 install-headers \
-	                                  install-bootstrap-headers=yes $(env_sysroot)
-	@cd $(headers_dir) && $(environment) $(MAKE) -j1 csu/subdir_lib
-	# ======= install 'lib-names-$(LIB_NAMES_SUFFIX).h' =======
-	@mkdir -p $(sysroot_dir)/usr/include/gnu
-	@install --mode=0644 $(headers_dir)/gnu/lib-names-$(LIB_NAMES_SUFFIX).h $(sysroot_dir)/usr/include/gnu
-	@install --mode=0644 $(SRC_DIR)/include/gnu/stubs.h $(sysroot_dir)/usr/include/gnu
-	# =========================================================
-	@cd $(headers_dir) && $(environment) $(MAKE) -j1 csu/subdir_install $(env_sysroot)
-	@$(environment) $(CC) -nostdlib -nostartfiles -shared -x c /dev/null \
-	                      -o $(sysroot_dir)/usr/lib$(LIBSUFFIX)/libc.so
-	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
-	@touch $@
-
-$(full_target): $(src_done)
-	@mkdir -p $(full_dir)
-	@echo "slibdir=/lib$(LIBSUFFIX)" >> $(full_dir)/configparms
-	@echo "rtlddir=/lib$(LIBSUFFIX)" >> $(full_dir)/configparms
-	@cd $(full_dir) && $(env_sysroot) $(environment) ../$(src_dir_name)/configure \
-	  --prefix=/usr                \
-	  --build=$(BUILD)             \
-	  --host=$(TARGET)             \
-	  $(extra_configure_switches)
-	@cd $(full_dir) && $(environment) $(MAKE) all
-	@cd $(full_dir) && $(environment) $(MAKE) -j1 install $(env_sysroot)
-	@rm -f $(sysroot_dir)/usr/share/info/dir
-	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
-	@touch $@
Index: glibc/2.36
===================================================================
--- glibc/2.36	(revision 10)
+++ glibc/2.36	(nonexistent)

Property changes on: glibc/2.36
___________________________________________________________________
Deleted: svn:ignore
## -1,80 +0,0 ##
-
-# Target build dirs
-.noarch
-.host
-
-.arm32-newlib
-.a33xx-newlib
-.a9xx-newlib
-.h5-newlib
-.s9xx-newlib
-.rk33xx-newlib
-.m1000-newlib
-.riscv64-newlib
-.at91sam7s-newlib
-
-.a1x-glibc
-.a2x-glibc
-.a311x-glibc
-.h3-glibc
-.h5-glibc
-.imx6-glibc
-.imx6ull-glibc
-.jz47xx-glibc
-.p5600-glibc
-.m1000-glibc
-.omap543x-glibc
-.am335x-glibc
-.rk328x-glibc
-.s8xx-glibc
-.s9xx-glibc
-.a9xx-glibc
-.rk33xx-glibc
-.rk339x-glibc
-.a33xx-glibc
-.power8-glibc
-.power9-glibc
-.power8le-glibc
-.power9le-glibc
-.riscv64-glibc
-.i586-glibc
-.i686-glibc
-.x86_64-glibc
-
-# Hidden files (each file)
-.makefile
-.src_requires
-.src_requires_depend
-.dist
-
-# Destinations
-dist
-
-
-# Tarballs
-*.gz
-*.bz2
-*.xz
-*.tgz
-*.txz
-
-# Signatures
-*.asc
-*.sig
-*.sign
-*.sha1sum
-
-# Patches
-*.patch
-
-# Text files
-*.txt
-
-# Default linux config files
-*.defconfig
-
-# Object Files
-*.[ao]
-
-# backup copies
-*~
Index: glibc/2.37/Makefile
===================================================================
--- glibc/2.37/Makefile	(nonexistent)
+++ glibc/2.37/Makefile	(revision 11)
@@ -0,0 +1,934 @@
+
+
+COMPONENT_TARGETS  = $(TOOLCHAIN_A1X_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_A2X_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_H3_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_H5_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_IMX6_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_IMX6ULL_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_JZ47XX_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_P5600_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_M1000_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_OMAP543X_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_AM335X_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_RK328X_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_S8XX_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_S9XX_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_A9XX_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_A311X_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_RK33XX_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_RK339X_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_RK358X_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_A33XX_GLIBC)
+
+COMPONENT_TARGETS += $(TOOLCHAIN_POWER8_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_POWER9_GLIBC)
+
+COMPONENT_TARGETS += $(TOOLCHAIN_POWER8LE_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_POWER9LE_GLIBC)
+
+COMPONENT_TARGETS += $(TOOLCHAIN_RISCV64_GLIBC)
+
+COMPONENT_TARGETS += $(TOOLCHAIN_I586_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_I686_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_X86_64_GLIBC)
+
+FLAVOURS = headers full
+
+include ../../../build-system/config.mk
+
+SOURCE_REQUIRES = sources/GNU/glibc
+
+ifeq ($(FLAVOUR),headers)
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC))
+REQUIRES  = core/linux/6.0.7
+endif
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A2X_GLIBC))
+REQUIRES  = core/linux/6.0.7
+endif
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H3_GLIBC))
+REQUIRES  = core/linux/6.0.7
+endif
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC))
+REQUIRES  = core/linux/6.0.7
+endif
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_IMX6_GLIBC))
+REQUIRES  = core/linux/6.0.7
+endif
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_IMX6ULL_GLIBC))
+REQUIRES  = core/linux/6.0.7
+endif
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC))
+REQUIRES  = core/linux/6.0.7
+endif
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_P5600_GLIBC))
+REQUIRES  = core/linux/Baikal/T1000/t1-5.15.61-5.9.31
+endif
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_M1000_GLIBC))
+REQUIRES  = core/linux/Baikal/M1000/m1-5.4.211-5.7.226
+endif
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_OMAP543X_GLIBC))
+REQUIRES  = core/linux/6.0.7
+endif
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_AM335X_GLIBC))
+REQUIRES  = core/linux/6.0.7
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK328X_GLIBC) \
+                             $(TOOLCHAIN_RK33XX_GLIBC) \
+                             $(TOOLCHAIN_RK339X_GLIBC) \
+                             $(TOOLCHAIN_RK358X_GLIBC) \
+                             $(TOOLCHAIN_A33XX_GLIBC)),)
+REQUIRES  = core/linux/6.0.7
+endif
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S8XX_GLIBC))
+REQUIRES  = core/linux/6.0.7
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC) \
+                             $(TOOLCHAIN_A9XX_GLIBC) \
+                             $(TOOLCHAIN_A311X_GLIBC)),)
+REQUIRES  = core/linux/6.0.7
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) \
+                             $(TOOLCHAIN_POWER9_GLIBC)),)
+REQUIRES  = core/glibc/2.37-ppc32^headers
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8LE_GLIBC) \
+                             $(TOOLCHAIN_POWER9LE_GLIBC)),)
+REQUIRES  = core/linux/6.0.7
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC)),)
+REQUIRES  = core/linux/6.0.7
+endif
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC))
+REQUIRES  = core/linux/6.0.7
+endif
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_I686_GLIBC))
+REQUIRES  = core/linux/6.0.7
+endif
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+REQUIRES  = core/glibc/2.37-x86_32^headers
+endif
+endif
+
+ifeq ($(FLAVOUR),full)
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+REQUIRES  = core/glibc/2.37-x86_32^full
+else
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) \
+                             $(TOOLCHAIN_POWER9_GLIBC)),)
+REQUIRES  = core/glibc/2.37-ppc32^full
+else
+REQUIRES  = core/gcc/12.2.0^second
+endif
+endif
+endif
+
+# ======= __END_OF_REQUIRES__ =======
+
+tar_xz_archive  = $(SRC_PACKAGE_PATH)/GNU/glibc/glibc-2.37.tar.xz
+SRC_ARCHIVE     = $(tar_xz_archive)
+SRC_DIR         = $(TARGET_BUILD_DIR)/glibc-2.37
+src_dir_name    = glibc-2.37
+src_done        = $(TARGET_BUILD_DIR)/.source-done
+
+PATCHES         = PATCHES
+
+full_dir        = $(TARGET_BUILD_DIR)/build-full
+headers_dir     = $(TARGET_BUILD_DIR)/build-headers
+
+sysroot_dir     = $(TOOLCHAIN_PATH)/$(TARGET)/sys-root
+
+headers_target  = $(TARGET_BUILD_DIR)/.headers-installed
+full_target     = $(TARGET_BUILD_DIR)/.installed
+
+
+
+ifeq ($(FLAVOUR),headers)
+BUILD_TARGETS = $(headers_target)
+endif
+
+ifeq ($(FLAVOUR),full)
+BUILD_TARGETS = $(full_target)
+endif
+
+include ../../../build-system/core.mk
+
+
+env_sysroot     = install_root=$(sysroot_dir)
+
+
+CC           = $(CCACHE)$(TOOLCHAIN_PATH)/bin/$(TARGET)-gcc
+CXX          = $(CCACHE)$(TOOLCHAIN_PATH)/bin/$(TARGET)-g++
+
+environment  = AS=$(TOOLCHAIN_PATH)/bin/$(TARGET)-as
+environment += LD=$(TOOLCHAIN_PATH)/bin/$(TARGET)-ld
+environment += CC="$(CC)"
+environment += CXX="$(CXX)"
+environment += AR=$(TOOLCHAIN_PATH)/bin/$(TARGET)-ar
+environment += RANLIB=$(TOOLCHAIN_PATH)/bin/$(TARGET)-ranlib
+
+environment += PATH=$(TOOLCHAIN_PATH)/bin:$(PATH)
+
+environment += BUILD_CC="$(CCACHE)/usr/bin/gcc"
+
+LIBSUFFIX    =
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC))
+environment += CFLAGS="-g -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A2X_GLIBC))
+environment += CFLAGS="-g -O3 -march=armv7ve -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H3_GLIBC))
+environment += CFLAGS="-g -O3 -march=armv7ve -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC))
+environment += CFLAGS="-g -O3 -march=armv8-a -mcpu=cortex-a53 -mabi=lp64"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_IMX6_GLIBC))
+environment += CFLAGS="-g -O3 -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_IMX6ULL_GLIBC))
+environment += CFLAGS="-g -O3 -march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC))
+environment += CFLAGS="-g -O2 -march=mips32r2 -mhard-float"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_P5600_GLIBC))
+environment += CFLAGS="-g -O2 -march=mips32r5 -mtune=p5600 -mhard-float"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_M1000_GLIBC))
+environment += CFLAGS="-g -O3 -march=armv8-a -mcpu=cortex-a57 -mabi=lp64"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_OMAP543X_GLIBC))
+environment += CFLAGS="-g -O3 -march=armv7ve -mtune=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_AM335X_GLIBC))
+environment += CFLAGS="-g -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK328X_GLIBC))
+environment += CFLAGS="-g -O3 -march=armv7ve -mtune=cortex-a17 -mfpu=neon-vfpv4 -mfloat-abi=hard"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S8XX_GLIBC))
+environment += CFLAGS="-g -O3 -march=armv7-a -mtune=cortex-a5 -mfpu=neon -mfloat-abi=hard"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC))
+environment += CFLAGS="-g -O3 -march=armv8-a -mcpu=cortex-a53 -mabi=lp64"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A9XX_GLIBC))
+environment += CFLAGS="-g -O3 -march=armv8-a -mfpu=neon-fp-armv8 -mfloat-abi=hard"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A311X_GLIBC))
+environment += CFLAGS="-g -O3 -march=armv8-a -mcpu=cortex-a73.cortex-a53 -mabi=lp64"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK33XX_GLIBC))
+environment += CFLAGS="-g -O3 -march=armv8-a -mcpu=cortex-a53 -mabi=lp64"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK339X_GLIBC))
+environment += CFLAGS="-g -O3 -march=armv8-a -mcpu=cortex-a72.cortex-a53 -mabi=lp64"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK358X_GLIBC))
+environment += CFLAGS="-g -O3 -march=armv8-a -mcpu=cortex-a75.cortex-a55 -mabi=lp64"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A33XX_GLIBC))
+environment += CFLAGS="-g -O3 -march=armv8-a -mfpu=neon-fp-armv8 -mfloat-abi=hard"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC))
+environment += CFLAGS="-g -O3 -mcpu=power8 -mlong-double-128"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_POWER9_GLIBC))
+environment += CFLAGS="-g -O3 -mcpu=power9 -mlong-double-128"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_POWER8LE_GLIBC))
+environment += CFLAGS="-g -O3 -mcpu=power8 -mlong-double-128"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_POWER9LE_GLIBC))
+environment += CFLAGS="-g -O3 -mcpu=power9 -mlong-double-128"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC))
+environment += CFLAGS="-g -O3 -march=rv64gc -mcmodel=medany"
+endif
+
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC))
+environment += CFLAGS="-g -O3 -march=i586 -mtune=i586"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_I686_GLIBC))
+environment += CFLAGS="-g -O3"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+environment += CFLAGS="-g -O3"
+endif
+
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC)      \
+                             $(TOOLCHAIN_A2X_GLIBC)      \
+                             $(TOOLCHAIN_H3_GLIBC)       \
+                             $(TOOLCHAIN_IMX6_GLIBC)     \
+                             $(TOOLCHAIN_IMX6ULL_GLIBC)  \
+                             $(TOOLCHAIN_OMAP543X_GLIBC) \
+                             $(TOOLCHAIN_AM335X_GLIBC)   \
+                             $(TOOLCHAIN_RK328X_GLIBC)   \
+                             $(TOOLCHAIN_S8XX_GLIBC)     \
+                             $(TOOLCHAIN_A9XX_GLIBC)     \
+                             $(TOOLCHAIN_A33XX_GLIBC)),)
+LIB_NAMES_SUFFIX = hard
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC) $(TOOLCHAIN_P5600_GLIBC)),)
+LIB_NAMES_SUFFIX = o32_hard
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC)     \
+                             $(TOOLCHAIN_S9XX_GLIBC)   \
+                             $(TOOLCHAIN_A311X_GLIBC)  \
+                             $(TOOLCHAIN_RK33XX_GLIBC) \
+                             $(TOOLCHAIN_RK339X_GLIBC) \
+                             $(TOOLCHAIN_RK358X_GLIBC) \
+                             $(TOOLCHAIN_M1000_GLIBC)),)
+LIB_NAMES_SUFFIX = lp64
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC) $(TOOLCHAIN_I686_GLIBC)),)
+LIB_NAMES_SUFFIX = 32
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER9_GLIBC)),)
+LIB_NAMES_SUFFIX = 64-v1
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8LE_GLIBC) $(TOOLCHAIN_POWER9LE_GLIBC)),)
+LIB_NAMES_SUFFIX = 64-v2
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC)),)
+LIB_NAMES_SUFFIX = lp64d
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
+LIB_NAMES_SUFFIX = 64
+endif
+
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.0.52
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.0.52
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A2X_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.0.52
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.0.52
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H3_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=4.14.52
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=4.14.52
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=4.14.52
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=4.14.52
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_IMX6_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.0.35
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.0.35
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_IMX6ULL_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.0.35
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.0.35
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.0.52
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.0.52
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_P5600_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.0.52
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.0.52
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_M1000_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=4.9.14
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=4.9.14
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_OMAP543X_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=2.6.36
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=2.6.36
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_AM335X_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.0.52
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.0.52
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK33XX_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.14.29
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.14.29
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK339X_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.14.29
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.14.29
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK358X_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.14.29
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.14.29
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A33XX_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.14.29
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.14.29
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK328X_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.0.52
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.0.52
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S8XX_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.10.33
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.10.33
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.14.29
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.14.29
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A9XX_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.14.29
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.14.29
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A311X_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.14.29
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.14.29
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER9_GLIBC)),)
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.2.0
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.2.0
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8LE_GLIBC) $(TOOLCHAIN_POWER9LE_GLIBC)),)
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.2.0
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.2.0
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC)),)
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=5.8.0
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=5.8.0
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=2.6.36
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=2.6.36
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_I686_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=2.6.36
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=2.6.36
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=2.6.36
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=2.6.36
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+
+extra_configure_switches  += libc_cv_slibdir=/lib$(LIBSUFFIX)
+extra_configure_switches  += libc_cv_rtlddir=/lib$(LIBSUFFIX)
+
+
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(headers_target): $(src_done)
+	@mkdir -p $(headers_dir)
+	@cd $(headers_dir) && $(env_sysroot) $(environment) ../$(src_dir_name)/configure \
+	  --prefix=/usr                \
+	  --build=$(BUILD)             \
+	  --host=$(TARGET)             \
+	  $(extra_configure_switches)
+	@cd $(headers_dir) && $(MAKE) -j1 install-headers \
+	                                  install-bootstrap-headers=yes $(env_sysroot)
+	@cd $(headers_dir) && $(environment) $(MAKE) -j1 csu/subdir_lib
+	# ======= install 'lib-names-$(LIB_NAMES_SUFFIX).h' =======
+	@mkdir -p $(sysroot_dir)/usr/include/gnu
+	@install --mode=0644 $(headers_dir)/gnu/lib-names-$(LIB_NAMES_SUFFIX).h $(sysroot_dir)/usr/include/gnu
+	@install --mode=0644 $(SRC_DIR)/include/gnu/stubs.h $(sysroot_dir)/usr/include/gnu
+	# =========================================================
+	@cd $(headers_dir) && $(environment) $(MAKE) -j1 csu/subdir_install $(env_sysroot)
+	@$(environment) $(CC) -nostdlib -nostartfiles -shared -x c /dev/null \
+	                      -o $(sysroot_dir)/usr/lib$(LIBSUFFIX)/libc.so
+	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
+	@touch $@
+
+$(full_target): $(src_done)
+	@mkdir -p $(full_dir)
+	@echo "slibdir=/lib$(LIBSUFFIX)" >> $(full_dir)/configparms
+	@echo "rtlddir=/lib$(LIBSUFFIX)" >> $(full_dir)/configparms
+	@cd $(full_dir) && $(env_sysroot) $(environment) ../$(src_dir_name)/configure \
+	  --prefix=/usr                \
+	  --build=$(BUILD)             \
+	  --host=$(TARGET)             \
+	  $(extra_configure_switches)
+	@cd $(full_dir) && $(environment) $(MAKE) all
+	@cd $(full_dir) && $(environment) $(MAKE) -j1 install $(env_sysroot)
+	@rm -f $(sysroot_dir)/usr/share/info/dir
+	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
+	@touch $@
Index: glibc/2.37/PATCHES
===================================================================
--- glibc/2.37/PATCHES	(nonexistent)
+++ glibc/2.37/PATCHES	(revision 11)
@@ -0,0 +1,10 @@
+
+../../../sources/GNU/glibc/patches/glibc-2.37-CVE-2023-25139.patch     -p0
+../../../sources/GNU/glibc/patches/glibc-2.37-reenable-DT-HASH.patch   -p0
+../../../sources/GNU/glibc/patches/glibc-2.37-i18n.patch               -p0
+../../../sources/GNU/glibc/patches/glibc-2.37-locale-no-archive.patch  -p0
+../../../sources/GNU/glibc/patches/glibc-2.37-malloc-hooks.patch       -p0
+../../../sources/GNU/glibc/patches/glibc-2.37-en_US-no-am-pm.patch     -p0
+
+../../../sources/GNU/glibc/patches/glibc-2.37-ppc64-interpreter.patch  -p0
+../../../sources/GNU/glibc/patches/glibc-2.37-x86_64-interpreter.patch -p0
Index: glibc/2.37
===================================================================
--- glibc/2.37	(nonexistent)
+++ glibc/2.37	(revision 11)

Property changes on: glibc/2.37
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,80 ##
+
+# Target build dirs
+.noarch
+.host
+
+.arm32-newlib
+.a33xx-newlib
+.a9xx-newlib
+.h5-newlib
+.s9xx-newlib
+.rk33xx-newlib
+.m1000-newlib
+.riscv64-newlib
+.at91sam7s-newlib
+
+.a1x-glibc
+.a2x-glibc
+.a311x-glibc
+.h3-glibc
+.h5-glibc
+.imx6-glibc
+.imx6ull-glibc
+.jz47xx-glibc
+.p5600-glibc
+.m1000-glibc
+.omap543x-glibc
+.am335x-glibc
+.rk328x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.a9xx-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.a33xx-glibc
+.power8-glibc
+.power9-glibc
+.power8le-glibc
+.power9le-glibc
+.riscv64-glibc
+.i586-glibc
+.i686-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.src_requires
+.src_requires_depend
+.dist
+
+# Destinations
+dist
+
+
+# Tarballs
+*.gz
+*.bz2
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Text files
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# Object Files
+*.[ao]
+
+# backup copies
+*~
Index: glibc/2.37-ppc32/Makefile
===================================================================
--- glibc/2.37-ppc32/Makefile	(nonexistent)
+++ glibc/2.37-ppc32/Makefile	(revision 11)
@@ -0,0 +1,147 @@
+
+
+COMPONENT_TARGETS  = $(TOOLCHAIN_POWER8_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_POWER9_GLIBC)
+
+FLAVOURS = headers full
+
+include ../../../build-system/config.mk
+
+SOURCE_REQUIRES = sources/GNU/glibc
+
+ifeq ($(FLAVOUR),headers)
+REQUIRES  = core/linux/6.0.7
+endif
+
+ifeq ($(FLAVOUR),full)
+REQUIRES  = core/gcc/12.2.0^second
+endif
+
+# ======= __END_OF_REQUIRES__ =======
+
+tar_xz_archive  = $(SRC_PACKAGE_PATH)/GNU/glibc/glibc-2.37.tar.xz
+SRC_ARCHIVE     = $(tar_xz_archive)
+SRC_DIR         = $(TARGET_BUILD_DIR)/glibc-2.37
+src_dir_name    = glibc-2.37
+src_done        = $(TARGET_BUILD_DIR)/.source-done
+
+PATCHES         = PATCHES
+
+full_dir        = $(TARGET_BUILD_DIR)/build-full
+headers_dir     = $(TARGET_BUILD_DIR)/build-headers
+
+sysroot_dir     = $(TOOLCHAIN_PATH)/$(TARGET)/sys-root
+
+headers_target  = $(TARGET_BUILD_DIR)/.headers-installed
+full_target     = $(TARGET_BUILD_DIR)/.installed
+
+
+
+ifeq ($(FLAVOUR),headers)
+BUILD_TARGETS = $(headers_target)
+endif
+
+ifeq ($(FLAVOUR),full)
+BUILD_TARGETS = $(full_target)
+endif
+
+include ../../../build-system/core.mk
+
+
+env_sysroot     = install_root=$(sysroot_dir)
+
+
+CC           = $(CCACHE)$(TOOLCHAIN_PATH)/bin/$(TARGET)-gcc -m32
+CXX          = $(CCACHE)$(TOOLCHAIN_PATH)/bin/$(TARGET)-g++ -m32
+
+environment  = AS=$(TOOLCHAIN_PATH)/bin/$(TARGET)-as
+environment += LD=$(TOOLCHAIN_PATH)/bin/$(TARGET)-ld
+environment += CC="$(CC)"
+environment += CXX="$(CXX)"
+environment += AR=$(TOOLCHAIN_PATH)/bin/$(TARGET)-ar
+environment += RANLIB=$(TOOLCHAIN_PATH)/bin/$(TARGET)-ranlib
+
+environment += PATH=$(TOOLCHAIN_PATH)/bin:$(PATH)
+
+environment += BUILD_CC="$(CCACHE)/usr/bin/gcc"
+
+LIBSUFFIX    =
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC))
+environment += CFLAGS="-g -O3 -mcpu=power8 -mlong-double-128"
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_POWER9_GLIBC))
+environment += CFLAGS="-g -O3 -mcpu=power9 -mlong-double-128"
+endif
+
+LIBSUFFIX    = 32
+
+TARGET32 = $(shell echo $(TARGET) | sed 's/ppc64/ppc/')
+
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER9_GLIBC)),)
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.2.0
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=3.2.0
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+
+extra_configure_switches  += libc_cv_slibdir=/lib$(LIBSUFFIX)
+extra_configure_switches  += libc_cv_rtlddir=/lib$(LIBSUFFIX)
+
+
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(headers_target): $(src_done)
+	@mkdir -p $(headers_dir)
+	@cd $(headers_dir) && $(env_sysroot) $(environment) ../$(src_dir_name)/configure \
+	  --prefix=/usr                \
+	  --build=$(BUILD)             \
+	  --host=$(TARGET32)           \
+	  $(extra_configure_switches)
+	@cd $(headers_dir) && $(MAKE) -j1 install-headers \
+	                                  install-bootstrap-headers=yes $(env_sysroot)
+	@cd $(headers_dir) && $(environment) $(MAKE) -j1 csu/subdir_lib
+	# ======= install 'lib-names-32.h' =======
+	@mkdir -p $(sysroot_dir)/usr/include/gnu
+	@install --mode=0644 $(headers_dir)/gnu/lib-names-32.h $(sysroot_dir)/usr/include/gnu
+	# ========================================
+	@cd $(headers_dir) && $(environment) $(MAKE) -j1 csu/subdir_install $(env_sysroot)
+	@$(environment) $(CC) -nostdlib -nostartfiles -shared -x c /dev/null \
+	                      -o $(sysroot_dir)/usr/lib$(LIBSUFFIX)/libc.so
+	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
+	@touch $@
+
+$(full_target): $(src_done)
+	@mkdir -p $(full_dir)
+	@echo "slibdir=/lib$(LIBSUFFIX)" >> $(full_dir)/configparms
+	@echo "rtlddir=/lib$(LIBSUFFIX)" >> $(full_dir)/configparms
+	@cd $(full_dir) && $(env_sysroot) $(environment) ../$(src_dir_name)/configure \
+	  --prefix=/usr                \
+	  --build=$(BUILD)             \
+	  --host=$(TARGET32)           \
+	  $(extra_configure_switches)
+	@cd $(full_dir) && $(environment) $(MAKE) all
+	@cd $(full_dir) && $(environment) $(MAKE) -j1 install $(env_sysroot)
+	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
+	@touch $@
Index: glibc/2.37-ppc32/PATCHES
===================================================================
--- glibc/2.37-ppc32/PATCHES	(nonexistent)
+++ glibc/2.37-ppc32/PATCHES	(revision 11)
@@ -0,0 +1,10 @@
+
+../../../sources/GNU/glibc/patches/glibc-2.37-CVE-2023-25139.patch     -p0
+../../../sources/GNU/glibc/patches/glibc-2.37-reenable-DT-HASH.patch   -p0
+../../../sources/GNU/glibc/patches/glibc-2.37-i18n.patch               -p0
+../../../sources/GNU/glibc/patches/glibc-2.37-locale-no-archive.patch  -p0
+../../../sources/GNU/glibc/patches/glibc-2.37-malloc-hooks.patch       -p0
+../../../sources/GNU/glibc/patches/glibc-2.37-en_US-no-am-pm.patch     -p0
+
+../../../sources/GNU/glibc/patches/glibc-2.37-ppc64-interpreter.patch  -p0
+../../../sources/GNU/glibc/patches/glibc-2.37-x86_64-interpreter.patch -p0
Index: glibc/2.37-ppc32
===================================================================
--- glibc/2.37-ppc32	(nonexistent)
+++ glibc/2.37-ppc32	(revision 11)

Property changes on: glibc/2.37-ppc32
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,80 ##
+
+# Target build dirs
+.noarch
+.host
+
+.arm32-newlib
+.a33xx-newlib
+.a9xx-newlib
+.h5-newlib
+.s9xx-newlib
+.rk33xx-newlib
+.m1000-newlib
+.riscv64-newlib
+.at91sam7s-newlib
+
+.a1x-glibc
+.a2x-glibc
+.a311x-glibc
+.h3-glibc
+.h5-glibc
+.imx6-glibc
+.imx6ull-glibc
+.jz47xx-glibc
+.p5600-glibc
+.m1000-glibc
+.omap543x-glibc
+.am335x-glibc
+.rk328x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.a9xx-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.a33xx-glibc
+.power8-glibc
+.power9-glibc
+.power8le-glibc
+.power9le-glibc
+.riscv64-glibc
+.i586-glibc
+.i686-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.src_requires
+.src_requires_depend
+.dist
+
+# Destinations
+dist
+
+
+# Tarballs
+*.gz
+*.bz2
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Text files
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# Object Files
+*.[ao]
+
+# backup copies
+*~
Index: glibc/2.37-x86_32/Makefile
===================================================================
--- glibc/2.37-x86_32/Makefile	(nonexistent)
+++ glibc/2.37-x86_32/Makefile	(revision 11)
@@ -0,0 +1,141 @@
+
+
+COMPONENT_TARGETS = $(TOOLCHAIN_X86_64_GLIBC)
+
+FLAVOURS = headers full
+
+include ../../../build-system/config.mk
+
+SOURCE_REQUIRES = sources/GNU/glibc
+
+ifeq ($(FLAVOUR),headers)
+REQUIRES  = core/linux/6.0.7
+endif
+
+ifeq ($(FLAVOUR),full)
+REQUIRES  = core/gcc/12.2.0^second
+endif
+
+# ======= __END_OF_REQUIRES__ =======
+
+tar_xz_archive  = $(SRC_PACKAGE_PATH)/GNU/glibc/glibc-2.37.tar.xz
+SRC_ARCHIVE     = $(tar_xz_archive)
+SRC_DIR         = $(TARGET_BUILD_DIR)/glibc-2.37
+src_dir_name    = glibc-2.37
+src_done        = $(TARGET_BUILD_DIR)/.source-done
+
+PATCHES         = PATCHES
+
+full_dir        = $(TARGET_BUILD_DIR)/build-full
+headers_dir     = $(TARGET_BUILD_DIR)/build-headers
+
+sysroot_dir     = $(TOOLCHAIN_PATH)/$(TARGET)/sys-root
+
+headers_target  = $(TARGET_BUILD_DIR)/.headers-installed
+full_target     = $(TARGET_BUILD_DIR)/.installed
+
+
+
+ifeq ($(FLAVOUR),headers)
+BUILD_TARGETS = $(headers_target)
+endif
+
+ifeq ($(FLAVOUR),full)
+BUILD_TARGETS = $(full_target)
+endif
+
+include ../../../build-system/core.mk
+
+
+env_sysroot     = install_root=$(sysroot_dir)
+
+
+CC           = $(CCACHE)$(TOOLCHAIN_PATH)/bin/$(TARGET)-gcc -m32
+CXX          = $(CCACHE)$(TOOLCHAIN_PATH)/bin/$(TARGET)-g++ -m32
+
+environment  = AS=$(TOOLCHAIN_PATH)/bin/$(TARGET)-as
+environment += LD=$(TOOLCHAIN_PATH)/bin/$(TARGET)-ld
+environment += CC="$(CC)"
+environment += CXX="$(CXX)"
+environment += AR=$(TOOLCHAIN_PATH)/bin/$(TARGET)-ar
+environment += RANLIB=$(TOOLCHAIN_PATH)/bin/$(TARGET)-ranlib
+
+environment += PATH=$(TOOLCHAIN_PATH)/bin:$(PATH)
+
+environment += BUILD_CC="$(CCACHE)/usr/bin/gcc"
+
+LIBSUFFIX    =
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+environment += CFLAGS="-g -O3 -march=i686 -mtune=i686"
+LIBSUFFIX    = 32
+endif
+
+TARGET32 = $(shell echo $(TARGET) | sed 's/x86_64/i686/')
+
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --with-headers=$(sysroot_dir)/usr/include
+ifeq ($(FLAVOUR),headers)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=2.6.36
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+ifeq ($(FLAVOUR),full)
+extra_configure_switches  += --with-binutils=$(TOOLCHAIN_PATH)/bin
+extra_configure_switches  += --enable-kernel=2.6.36
+extra_configure_switches  += --disable-profile
+extra_configure_switches  += --enable-bind-now
+extra_configure_switches  += --without-gd
+extra_configure_switches  += --without-cvs
+endif
+endif
+
+
+extra_configure_switches  += libc_cv_slibdir=/lib$(LIBSUFFIX)
+extra_configure_switches  += libc_cv_rtlddir=/lib$(LIBSUFFIX)
+
+
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(headers_target): $(src_done)
+	@mkdir -p $(headers_dir)
+	@cd $(headers_dir) && $(env_sysroot) $(environment) ../$(src_dir_name)/configure \
+	  --prefix=/usr                \
+	  --build=$(BUILD)             \
+	  --host=$(TARGET32)           \
+	  $(extra_configure_switches)
+	@cd $(headers_dir) && $(MAKE) -j1 install-headers \
+	                                  install-bootstrap-headers=yes $(env_sysroot)
+	@cd $(headers_dir) && $(environment) $(MAKE) -j1 csu/subdir_lib
+	# ======= install 'lib-names-32.h' =======
+	@mkdir -p $(sysroot_dir)/usr/include/gnu
+	@install --mode=0644 $(headers_dir)/gnu/lib-names-32.h $(sysroot_dir)/usr/include/gnu
+	# ========================================
+	@cd $(headers_dir) && $(environment) $(MAKE) -j1 csu/subdir_install $(env_sysroot)
+	@$(environment) $(CC) -nostdlib -nostartfiles -shared -x c /dev/null \
+	                      -o $(sysroot_dir)/usr/lib$(LIBSUFFIX)/libc.so
+	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
+	@touch $@
+
+$(full_target): $(src_done)
+	@mkdir -p $(full_dir)
+	@echo "slibdir=/lib$(LIBSUFFIX)" >> $(full_dir)/configparms
+	@echo "rtlddir=/lib$(LIBSUFFIX)" >> $(full_dir)/configparms
+	@cd $(full_dir) && $(env_sysroot) $(environment) ../$(src_dir_name)/configure \
+	  --prefix=/usr                \
+	  --build=$(BUILD)             \
+	  --host=$(TARGET32)           \
+	  $(extra_configure_switches)
+	@cd $(full_dir) && $(environment) $(MAKE) all
+	@cd $(full_dir) && $(environment) $(MAKE) -j1 install $(env_sysroot)
+	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
+	@touch $@
Index: glibc/2.37-x86_32/PATCHES
===================================================================
--- glibc/2.37-x86_32/PATCHES	(nonexistent)
+++ glibc/2.37-x86_32/PATCHES	(revision 11)
@@ -0,0 +1,10 @@
+
+../../../sources/GNU/glibc/patches/glibc-2.37-CVE-2023-25139.patch     -p0
+../../../sources/GNU/glibc/patches/glibc-2.37-reenable-DT-HASH.patch   -p0
+../../../sources/GNU/glibc/patches/glibc-2.37-i18n.patch               -p0
+../../../sources/GNU/glibc/patches/glibc-2.37-locale-no-archive.patch  -p0
+../../../sources/GNU/glibc/patches/glibc-2.37-malloc-hooks.patch       -p0
+../../../sources/GNU/glibc/patches/glibc-2.37-en_US-no-am-pm.patch     -p0
+
+../../../sources/GNU/glibc/patches/glibc-2.37-ppc64-interpreter.patch  -p0
+../../../sources/GNU/glibc/patches/glibc-2.37-x86_64-interpreter.patch -p0
Index: glibc/2.37-x86_32
===================================================================
--- glibc/2.37-x86_32	(nonexistent)
+++ glibc/2.37-x86_32	(revision 11)

Property changes on: glibc/2.37-x86_32
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,80 ##
+
+# Target build dirs
+.noarch
+.host
+
+.arm32-newlib
+.a33xx-newlib
+.a9xx-newlib
+.h5-newlib
+.s9xx-newlib
+.rk33xx-newlib
+.m1000-newlib
+.riscv64-newlib
+.at91sam7s-newlib
+
+.a1x-glibc
+.a2x-glibc
+.a311x-glibc
+.h3-glibc
+.h5-glibc
+.imx6-glibc
+.imx6ull-glibc
+.jz47xx-glibc
+.p5600-glibc
+.m1000-glibc
+.omap543x-glibc
+.am335x-glibc
+.rk328x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.a9xx-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.a33xx-glibc
+.power8-glibc
+.power9-glibc
+.power8le-glibc
+.power9le-glibc
+.riscv64-glibc
+.i586-glibc
+.i686-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.src_requires
+.src_requires_depend
+.dist
+
+# Destinations
+dist
+
+
+# Tarballs
+*.gz
+*.bz2
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Text files
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# Object Files
+*.[ao]
+
+# backup copies
+*~