Radix cross Linux Toolchains

Toolchains for all supported by Radix cross Linux devices

42 Commits   1 Branch   8 Tags
Index: toolchains-1.10.x/core/crypt/4.4.36/Makefile
===================================================================
--- toolchains-1.10.x/core/crypt/4.4.36/Makefile	(nonexistent)
+++ toolchains-1.10.x/core/crypt/4.4.36/Makefile	(revision 40)
@@ -0,0 +1,296 @@
+
+
+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 = compat next
+
+include ../../../build-system/config.mk
+
+SOURCE_REQUIRES = sources/crypt
+
+ifeq ($(FLAVOUR),compat)
+REQUIRES  = core/glibc/2.39^full
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+REQUIRES += core/crypt/4.4.36-x86_32^compat
+else
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) \
+                             $(TOOLCHAIN_POWER9_GLIBC)),)
+REQUIRES += core/crypt/4.4.36-ppc32^compat
+endif
+endif
+endif
+
+ifeq ($(FLAVOUR),next)
+REQUIRES  = core/crypt/4.4.36^compat
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+REQUIRES += core/crypt/4.4.36-x86_32^next
+else
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) \
+                             $(TOOLCHAIN_POWER9_GLIBC)),)
+REQUIRES += core/crypt/4.4.36-ppc32^next
+endif
+endif
+endif
+
+# ======= __END_OF_REQUIRES__ =======
+
+tar_xz_archive  = $(SRC_PACKAGE_PATH)/crypt/libxcrypt/libxcrypt-4.4.36.tar.xz
+SRC_ARCHIVE     = $(tar_xz_archive)
+SRC_DIR         = $(TARGET_BUILD_DIR)/libxcrypt-4.4.36
+src_dir_name    = libxcrypt-4.4.36
+src_done        = $(TARGET_BUILD_DIR)/.source-done
+
+PATCHES         = PATCHES
+
+build_compat_dir    = $(TARGET_BUILD_DIR)/build-compat
+build_next_dir      = $(TARGET_BUILD_DIR)/build-next
+
+sysroot_dir         = $(TOOLCHAIN_PATH)/$(TARGET)/sys-root
+
+build_compat_target = $(TARGET_BUILD_DIR)/.compat-built
+compat_target       = $(TARGET_BUILD_DIR)/.compat-installed
+
+build_next_target   = $(TARGET_BUILD_DIR)/.next-built
+next_target         = $(TARGET_BUILD_DIR)/.next-installed
+
+
+ifeq ($(FLAVOUR),compat)
+BUILD_TARGETS  = $(build_compat_target)
+BUILD_TARGETS += $(compat_target)
+endif
+
+ifeq ($(FLAVOUR),next)
+BUILD_TARGETS  = $(build_next_target)
+BUILD_TARGETS += $(next_target)
+endif
+
+include ../../../build-system/core.mk
+
+
+env_sysroot     = DESTDIR=$(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)
+
+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.2-a -mtune=cortex-a76.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
+
+
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --mandir=/usr/share/man
+ifeq ($(FLAVOUR),compat)
+extra_configure_switches  += --enable-hashes=strong,glibc
+extra_configure_switches  += --enable-obsolete-api=glibc
+extra_configure_switches  += --disable-feature-tokens
+endif
+ifeq ($(FLAVOUR),next)
+extra_configure_switches  += --enable-hashes=strong,glibc
+extra_configure_switches  += --enable-obsolete-api=no
+extra_configure_switches  += --disable-feature-tokens
+extra_configure_switches  += --enable-static=no
+endif
+
+
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_compat_target): $(src_done)
+	@mkdir -p $(build_compat_dir)
+	@cd $(build_compat_dir) && $(env_sysroot) $(environment) ../$(src_dir_name)/configure \
+	  --prefix=/usr                \
+	  --build=$(BUILD)             \
+	  --host=$(TARGET)             \
+	  $(extra_configure_switches)
+	@cd $(build_compat_dir) && $(environment) $(MAKE) all
+	@touch $@
+
+$(build_next_target): $(src_done)
+	@mkdir -p $(build_next_dir)
+	@cd $(build_next_dir) && $(env_sysroot) $(environment) ../$(src_dir_name)/configure \
+	  --prefix=/usr                \
+	  --build=$(BUILD)             \
+	  --host=$(TARGET)             \
+	  $(extra_configure_switches)
+	@cd $(build_next_dir) && $(environment) $(MAKE) all
+	@touch $@
+
+$(compat_target): $(build_compat_target)
+	@mkdir -p $(sysroot_dir)/{,usr/}lib$(LIBSUFFIX)
+	@cd $(build_compat_dir) && $(environment) $(MAKE) -j1 install $(env_sysroot)
+	@( cd $(sysroot_dir)/usr/lib$(LIBSUFFIX) ; \
+	   rm -f *.la ; \
+	   rm libcrypt.so ; \
+	   mv libcrypt.so* ../../lib$(LIBSUFFIX) ; \
+	   ln -sf ../../lib$(LIBSUFFIX)/libcrypt.so.1 libcrypt.so ; \
+	 )
+	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
+	@touch $@
+
+$(next_target): $(build_next_target)
+	@mkdir -p $(sysroot_dir)/{,usr/}lib$(LIBSUFFIX)
+	@cd $(build_next_dir) && $(environment) $(MAKE) -j1 install $(env_sysroot)
+	@( cd $(sysroot_dir)/usr/lib$(LIBSUFFIX) ; \
+	   rm -f *.la ; \
+	   rm libcrypt.so ; \
+	   mv libcrypt.so* ../../lib$(LIBSUFFIX) ; \
+	   ln -sf ../../lib$(LIBSUFFIX)/libcrypt.so.2 libcrypt.so ; \
+	 )
+	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
+	@touch $@
Index: toolchains-1.10.x/core/crypt/4.4.36/PATCHES
===================================================================
Index: toolchains-1.10.x/core/crypt/4.4.36
===================================================================
--- toolchains-1.10.x/core/crypt/4.4.36	(nonexistent)
+++ toolchains-1.10.x/core/crypt/4.4.36	(revision 40)

Property changes on: toolchains-1.10.x/core/crypt/4.4.36
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,81 ##
+
+# 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
+.rk358x-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: toolchains-1.10.x/core/crypt/4.4.36-ppc32/Makefile
===================================================================
--- toolchains-1.10.x/core/crypt/4.4.36-ppc32/Makefile	(nonexistent)
+++ toolchains-1.10.x/core/crypt/4.4.36-ppc32/Makefile	(revision 40)
@@ -0,0 +1,148 @@
+
+
+COMPONENT_TARGETS  = $(TOOLCHAIN_POWER8_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_POWER9_GLIBC)
+
+
+FLAVOURS = compat next
+
+include ../../../build-system/config.mk
+
+SOURCE_REQUIRES = sources/crypt
+
+ifeq ($(FLAVOUR),compat)
+REQUIRES  = core/glibc/2.39-ppc32^full
+endif
+ifeq ($(FLAVOUR),next)
+REQUIRES  = core/crypt/4.4.36-ppc32^compat
+endif
+
+# ======= __END_OF_REQUIRES__ =======
+
+tar_xz_archive  = $(SRC_PACKAGE_PATH)/crypt/libxcrypt/libxcrypt-4.4.36.tar.xz
+SRC_ARCHIVE     = $(tar_xz_archive)
+SRC_DIR         = $(TARGET_BUILD_DIR)/libxcrypt-4.4.36
+src_dir_name    = libxcrypt-4.4.36
+src_done        = $(TARGET_BUILD_DIR)/.source-done
+
+PATCHES         = PATCHES
+
+build_compat_dir    = $(TARGET_BUILD_DIR)/build-compat
+build_next_dir      = $(TARGET_BUILD_DIR)/build-next
+
+sysroot_dir         = $(TOOLCHAIN_PATH)/$(TARGET)/sys-root
+
+build_compat_target = $(TARGET_BUILD_DIR)/.compat-built
+compat_target       = $(TARGET_BUILD_DIR)/.compat-installed
+
+build_next_target   = $(TARGET_BUILD_DIR)/.next-built
+next_target         = $(TARGET_BUILD_DIR)/.next-installed
+
+
+ifeq ($(FLAVOUR),compat)
+BUILD_TARGETS  = $(build_compat_target)
+BUILD_TARGETS += $(compat_target)
+endif
+
+ifeq ($(FLAVOUR),next)
+BUILD_TARGETS  = $(build_next_target)
+BUILD_TARGETS += $(next_target)
+endif
+
+include ../../../build-system/core.mk
+
+
+env_sysroot     = DESTDIR=$(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)
+
+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/')
+
+
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --mandir=/usr/share/man
+ifeq ($(FLAVOUR),compat)
+extra_configure_switches  += --enable-hashes=strong,glibc
+extra_configure_switches  += --enable-obsolete-api=glibc
+extra_configure_switches  += --disable-feature-tokens
+endif
+ifeq ($(FLAVOUR),next)
+extra_configure_switches  += --enable-hashes=strong,glibc
+extra_configure_switches  += --enable-obsolete-api=no
+extra_configure_switches  += --disable-feature-tokens
+extra_configure_switches  += --enable-static=no
+endif
+
+
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_compat_target): $(src_done)
+	@mkdir -p $(build_compat_dir)
+	@cd $(build_compat_dir) && $(env_sysroot) $(environment) ../$(src_dir_name)/configure \
+	  --prefix=/usr                \
+	  --build=$(BUILD)             \
+	  --host=$(TARGET32)           \
+	  $(extra_configure_switches)
+	@cd $(build_compat_dir) && $(environment) $(MAKE) all
+	@touch $@
+
+$(build_next_target): $(src_done)
+	@mkdir -p $(build_next_dir)
+	@cd $(build_next_dir) && $(env_sysroot) $(environment) ../$(src_dir_name)/configure \
+	  --prefix=/usr                \
+	  --build=$(BUILD)             \
+	  --host=$(TARGET32)           \
+	  $(extra_configure_switches)
+	@cd $(build_next_dir) && $(environment) $(MAKE) all
+	@touch $@
+
+$(compat_target): $(build_compat_target)
+	@mkdir -p $(sysroot_dir)/{,usr/}lib$(LIBSUFFIX)
+	@cd $(build_compat_dir) && $(environment) $(MAKE) -j1 install $(env_sysroot)
+	@( cd $(sysroot_dir)/usr/lib$(LIBSUFFIX) ; \
+	   rm -f *.la ; \
+	   rm libcrypt.so ; \
+	   mv libcrypt.so* ../../lib$(LIBSUFFIX) ; \
+	   ln -sf ../../lib$(LIBSUFFIX)/libcrypt.so.1 libcrypt.so ; \
+	 )
+	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
+	@touch $@
+
+$(next_target): $(build_next_target)
+	@mkdir -p $(sysroot_dir)/{,usr/}lib$(LIBSUFFIX)
+	@cd $(build_next_dir) && $(environment) $(MAKE) -j1 install $(env_sysroot)
+	@( cd $(sysroot_dir)/usr/lib$(LIBSUFFIX) ; \
+	   rm -f *.la ; \
+	   rm libcrypt.so ; \
+	   mv libcrypt.so* ../../lib$(LIBSUFFIX) ; \
+	   ln -sf ../../lib$(LIBSUFFIX)/libcrypt.so.2 libcrypt.so ; \
+	 )
+	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
+	@touch $@
Index: toolchains-1.10.x/core/crypt/4.4.36-ppc32/PATCHES
===================================================================
Index: toolchains-1.10.x/core/crypt/4.4.36-ppc32
===================================================================
--- toolchains-1.10.x/core/crypt/4.4.36-ppc32	(nonexistent)
+++ toolchains-1.10.x/core/crypt/4.4.36-ppc32	(revision 40)

Property changes on: toolchains-1.10.x/core/crypt/4.4.36-ppc32
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,81 ##
+
+# 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
+.rk358x-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: toolchains-1.10.x/core/crypt/4.4.36-x86_32/Makefile
===================================================================
--- toolchains-1.10.x/core/crypt/4.4.36-x86_32/Makefile	(nonexistent)
+++ toolchains-1.10.x/core/crypt/4.4.36-x86_32/Makefile	(revision 40)
@@ -0,0 +1,142 @@
+
+
+COMPONENT_TARGETS = $(TOOLCHAIN_X86_64_GLIBC)
+
+
+FLAVOURS = compat next
+
+include ../../../build-system/config.mk
+
+SOURCE_REQUIRES = sources/crypt
+
+ifeq ($(FLAVOUR),compat)
+REQUIRES  = core/glibc/2.39-x86_32^full
+endif
+ifeq ($(FLAVOUR),next)
+REQUIRES  = core/crypt/4.4.36-x86_32^compat
+endif
+
+# ======= __END_OF_REQUIRES__ =======
+
+tar_xz_archive  = $(SRC_PACKAGE_PATH)/crypt/libxcrypt/libxcrypt-4.4.36.tar.xz
+SRC_ARCHIVE     = $(tar_xz_archive)
+SRC_DIR         = $(TARGET_BUILD_DIR)/libxcrypt-4.4.36
+src_dir_name    = libxcrypt-4.4.36
+src_done        = $(TARGET_BUILD_DIR)/.source-done
+
+PATCHES         = PATCHES
+
+build_compat_dir    = $(TARGET_BUILD_DIR)/build-compat
+build_next_dir      = $(TARGET_BUILD_DIR)/build-next
+
+sysroot_dir         = $(TOOLCHAIN_PATH)/$(TARGET)/sys-root
+
+build_compat_target = $(TARGET_BUILD_DIR)/.compat-built
+compat_target       = $(TARGET_BUILD_DIR)/.compat-installed
+
+build_next_target   = $(TARGET_BUILD_DIR)/.next-built
+next_target         = $(TARGET_BUILD_DIR)/.next-installed
+
+
+ifeq ($(FLAVOUR),compat)
+BUILD_TARGETS  = $(build_compat_target)
+BUILD_TARGETS += $(compat_target)
+endif
+
+ifeq ($(FLAVOUR),next)
+BUILD_TARGETS  = $(build_next_target)
+BUILD_TARGETS += $(next_target)
+endif
+
+include ../../../build-system/core.mk
+
+
+env_sysroot     = DESTDIR=$(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)
+
+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/')
+
+
+extra_configure_switches   = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches  += --mandir=/usr/share/man
+ifeq ($(FLAVOUR),compat)
+extra_configure_switches  += --enable-hashes=strong,glibc
+extra_configure_switches  += --enable-obsolete-api=glibc
+extra_configure_switches  += --disable-feature-tokens
+endif
+ifeq ($(FLAVOUR),next)
+extra_configure_switches  += --enable-hashes=strong,glibc
+extra_configure_switches  += --enable-obsolete-api=no
+extra_configure_switches  += --disable-feature-tokens
+extra_configure_switches  += --enable-static=no
+endif
+
+
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_compat_target): $(src_done)
+	@mkdir -p $(build_compat_dir)
+	@cd $(build_compat_dir) && $(env_sysroot) $(environment) ../$(src_dir_name)/configure \
+	  --prefix=/usr                \
+	  --build=$(BUILD)             \
+	  --host=$(TARGET32)           \
+	  $(extra_configure_switches)
+	@cd $(build_compat_dir) && $(environment) $(MAKE) all
+	@touch $@
+
+$(build_next_target): $(src_done)
+	@mkdir -p $(build_next_dir)
+	@cd $(build_next_dir) && $(env_sysroot) $(environment) ../$(src_dir_name)/configure \
+	  --prefix=/usr                \
+	  --build=$(BUILD)             \
+	  --host=$(TARGET32)           \
+	  $(extra_configure_switches)
+	@cd $(build_next_dir) && $(environment) $(MAKE) all
+	@touch $@
+
+$(compat_target): $(build_compat_target)
+	@mkdir -p $(sysroot_dir)/{,usr/}lib$(LIBSUFFIX)
+	@cd $(build_compat_dir) && $(environment) $(MAKE) -j1 install $(env_sysroot)
+	@( cd $(sysroot_dir)/usr/lib$(LIBSUFFIX) ; \
+	   rm -f *.la ; \
+	   rm libcrypt.so ; \
+	   mv libcrypt.so* ../../lib$(LIBSUFFIX) ; \
+	   ln -sf ../../lib$(LIBSUFFIX)/libcrypt.so.1 libcrypt.so ; \
+	 )
+	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
+	@touch $@
+
+$(next_target): $(build_next_target)
+	@mkdir -p $(sysroot_dir)/{,usr/}lib$(LIBSUFFIX)
+	@cd $(build_next_dir) && $(environment) $(MAKE) -j1 install $(env_sysroot)
+	@( cd $(sysroot_dir)/usr/lib$(LIBSUFFIX) ; \
+	   rm -f *.la ; \
+	   rm libcrypt.so ; \
+	   mv libcrypt.so* ../../lib$(LIBSUFFIX) ; \
+	   ln -sf ../../lib$(LIBSUFFIX)/libcrypt.so.2 libcrypt.so ; \
+	 )
+	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
+	@touch $@
Index: toolchains-1.10.x/core/crypt/4.4.36-x86_32/PATCHES
===================================================================
Index: toolchains-1.10.x/core/crypt/4.4.36-x86_32
===================================================================
--- toolchains-1.10.x/core/crypt/4.4.36-x86_32	(nonexistent)
+++ toolchains-1.10.x/core/crypt/4.4.36-x86_32	(revision 40)

Property changes on: toolchains-1.10.x/core/crypt/4.4.36-x86_32
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,81 ##
+
+# 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
+.rk358x-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: toolchains-1.10.x/core/gcc/13.2.0/Makefile
===================================================================
--- toolchains-1.10.x/core/gcc/13.2.0/Makefile	(revision 39)
+++ toolchains-1.10.x/core/gcc/13.2.0/Makefile	(revision 40)
@@ -74,7 +74,7 @@
 REQUIRES  = core/glibc/2.39^headers
 endif
 ifeq ($(FLAVOUR),full)
-REQUIRES  = core/glibc/2.39^full
+REQUIRES  = core/crypt/4.4.36^next
 endif
 endif
 
@@ -1130,7 +1130,7 @@
 extra_configure_switches += --disable-multiarch
 extra_configure_switches += --disable-multilib
 extra_configure_switches += --with-arch=armv8.2-a
-extra_configure_switches += --with-cpu=cortex-a75.cortex-a55
+extra_configure_switches += --with-cpu=cortex-a76.cortex-a55
 extra_configure_switches += --with-abi=lp64
 # add
 extra_configure_switches += --enable-gold
Index: toolchains-1.10.x/core/gdb/14.1/Makefile
===================================================================
--- toolchains-1.10.x/core/gdb/14.1/Makefile	(revision 39)
+++ toolchains-1.10.x/core/gdb/14.1/Makefile	(revision 40)
@@ -313,7 +313,7 @@
 ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK358X_GLIBC)),)
 extra_configure_switches  = --disable-multilib
 extra_configure_switches += --with-arch=armv8.2-a
-extra_configure_switches += --with-cpu=cortex-a75
+extra_configure_switches += --with-cpu=cortex-a76
 extra_configure_switches += --with-fpu=neon-fp-armv8
 extra_configure_switches += --with-abi=lp64
 extra_configure_switches += --with-build-sysroot=$(sysroot_dir)
Index: toolchains-1.10.x/core/glibc/2.39/Makefile
===================================================================
--- toolchains-1.10.x/core/glibc/2.39/Makefile	(revision 39)
+++ toolchains-1.10.x/core/glibc/2.39/Makefile	(revision 40)
@@ -246,7 +246,7 @@
 endif
 
 ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK358X_GLIBC))
-environment += CFLAGS="-g -O3 -march=armv8.2-a -mcpu=cortex-a75.cortex-a55 -mabi=lp64"
+environment += CFLAGS="-g -O3 -march=armv8.2-a -mtune=cortex-a76.cortex-a55 -mabi=lp64"
 endif
 
 ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A33XX_GLIBC))
Index: toolchains-1.10.x/sources/crypt/Makefile
===================================================================
--- toolchains-1.10.x/sources/crypt/Makefile	(nonexistent)
+++ toolchains-1.10.x/sources/crypt/Makefile	(revision 40)
@@ -0,0 +1,14 @@
+
+COMPONENT_TARGETS = $(TOOLCHAIN_NOARCH)
+
+SOURCE_REQUIRES += ALL_DIRS
+
+# ======= __END_OF_REQUIRES__ =======
+
+include ../../build-system/core.mk
+
+
+download_clean:
+	@true
+
+.PHONY: download_clean
Index: toolchains-1.10.x/sources/crypt/libxcrypt/Makefile
===================================================================
--- toolchains-1.10.x/sources/crypt/libxcrypt/Makefile	(nonexistent)
+++ toolchains-1.10.x/sources/crypt/libxcrypt/Makefile	(revision 40)
@@ -0,0 +1,47 @@
+
+COMPONENT_TARGETS = $(TOOLCHAIN_NOARCH)
+
+
+include ../../../build-system/config.mk
+
+
+url         = $(DOWNLOAD_SERVER)/sources/packages/l/libxcrypt
+
+versions    = 4.4.36
+pkg_name    = libxcrypt
+suffix      = tar.xz
+
+tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkg_name)-, $(versions)))
+sha1s       = $(addsuffix .sha1sum, $(tarballs))
+
+
+BUILD_TARGETS = $(tarballs) $(sha1s)
+
+
+include ../../../build-system/core.mk
+
+
+.PHONY: download_clean
+
+
+$(tarballs):
+	@echo -e "\n======= Downloading source tarballs =======" ; \
+	 for tarball in $(tarballs) ; do \
+	   echo "$(url)/$$tarball" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & \
+	 done ; wait
+
+$(sha1s): $(tarballs)
+	@for sha in $@ ; do \
+	   echo -e "\n======= Downloading '$$sha' signature =======\n" ; \
+	   echo "$(url)/$$sha" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & wait %1 ; \
+	   touch $$sha ; \
+	   echo -e "\n======= Check the '$$sha' sha1sum =======\n" ; \
+	   sha1sum --check $$sha ; ret="$$?" ; \
+	   if [ "$$ret" == "1" ]; then \
+	     echo -e "\n======= ERROR: Bad '$$sha' sha1sum =======\n" ; \
+	     exit 1 ; \
+	   fi ; \
+	 done
+
+download_clean:
+	@rm -f $(tarballs) $(sha1s)
Index: toolchains-1.10.x/sources/crypt/libxcrypt
===================================================================
--- toolchains-1.10.x/sources/crypt/libxcrypt	(nonexistent)
+++ toolchains-1.10.x/sources/crypt/libxcrypt	(revision 40)

Property changes on: toolchains-1.10.x/sources/crypt/libxcrypt
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,81 ##
+
+# 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
+.rk358x-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: toolchains-1.10.x/sources/crypt
===================================================================
--- toolchains-1.10.x/sources/crypt	(nonexistent)
+++ toolchains-1.10.x/sources/crypt	(revision 40)

Property changes on: toolchains-1.10.x/sources/crypt
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,81 ##
+
+# 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
+.rk358x-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
+*~