Radix cross Linux Toolchains

Toolchains for all supported by Radix cross Linux devices

80 Commits   2 Branches   13 Tags
Index: core/binutils/2.43.1/Makefile
===================================================================
--- core/binutils/2.43.1/Makefile	(revision 51)
+++ core/binutils/2.43.1/Makefile	(revision 52)
@@ -527,9 +527,10 @@
 extra_configure_switches += --enable-ld=default
 extra_configure_switches += --enable-werror=no
 # standard options:
-extra_configure_switches += --enable-multilib
+extra_configure_switches += --disable-multilib
 extra_configure_switches += --enable-plugins
 extra_configure_switches += --enable-targets=ppc-radix-linux,ppc-linux,powerpc-radix-linux,powerpc-linux
+extra_configure_switches += --enable-64-bit-bfd
 extra_configure_switches += --disable-compressed-debug-sections
 extra_configure_switches += --with-sysroot=$(sysroot_dir)
 endif
@@ -542,9 +543,10 @@
 extra_configure_switches += --enable-ld=default
 extra_configure_switches += --enable-werror=no
 # standard options:
-extra_configure_switches += --enable-multilib
+extra_configure_switches += --disable-multilib
 extra_configure_switches += --enable-plugins
 extra_configure_switches += --enable-targets=ppc-radix-linux,ppc-linux,powerpc-radix-linux,powerpc-linux
+extra_configure_switches += --enable-64-bit-bfd
 extra_configure_switches += --disable-compressed-debug-sections
 extra_configure_switches += --with-sysroot=$(sysroot_dir)
 endif
@@ -694,10 +696,10 @@
 	@( cd $(SRC_DIR) ; \
 	   rm -f binutils/doc/*.1 binutils/doc/*.man gprof/gprof.1 ld/ld.1 gas/doc/as.1 ; \
 	 )
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC)),)
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER9_GLIBC)),)
 	# ======= On ppc64 and aarch64, we might use 64KiB pages =======
 	@( cd $(SRC_DIR) ; \
-	   sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$/0x10000/' bfd/elf*ppc.c ; \
+	   sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$$/0x10000/' bfd/elf*ppc.c ; \
 	   sed -i -e '/common_pagesize/s/4 /64 /' gold/powerpc.cc ; \
 	 )
 endif
Index: core/gcc/14.2.0/Makefile
===================================================================
--- core/gcc/14.2.0/Makefile	(revision 51)
+++ core/gcc/14.2.0/Makefile	(revision 52)
@@ -1794,6 +1794,7 @@
 extra_configure_switches  = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
 extra_configure_switches += '--with-bugurl=https://radix.pro'
 extra_configure_switches += --libdir=$(TOOLCHAIN_PATH)/lib$(LIBSUFFIX)
+extra_configure_switches += --disable-multilib
 extra_configure_switches += --with-cpu-32=power8
 extra_configure_switches += --with-tune-32=power8
 extra_configure_switches += --with-long-double-128
@@ -1858,6 +1859,7 @@
 extra_configure_switches  = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
 extra_configure_switches += '--with-bugurl=https://radix.pro'
 extra_configure_switches += --libdir=$(TOOLCHAIN_PATH)/lib$(LIBSUFFIX)
+extra_configure_switches += --disable-multilib
 extra_configure_switches += --with-cpu-32=power9
 extra_configure_switches += --with-tune-32=power9
 extra_configure_switches += --with-long-double-128
Index: core/gdb/15.1/Makefile
===================================================================
--- core/gdb/15.1/Makefile	(revision 51)
+++ core/gdb/15.1/Makefile	(revision 52)
@@ -329,6 +329,7 @@
 endif
 
 ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_PPC8_GLIBC)),)
+extra_configure_switches  = --disable-multilib
 extra_configure_switches += --with-cpu=power8
 extra_configure_switches += --with-tune=power8
 extra_configure_switches += --with-build-sysroot=$(sysroot_dir)
@@ -335,6 +336,7 @@
 endif
 
 ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_PPC9_GLIBC)),)
+extra_configure_switches  = --disable-multilib
 extra_configure_switches += --with-cpu=power9
 extra_configure_switches += --with-tune=power9
 extra_configure_switches += --with-build-sysroot=$(sysroot_dir)