Radix cross Linux Toolchains

Toolchains for all supported by Radix cross Linux devices

80 Commits   2 Branches   13 Tags
Index: 2.43.1/Makefile
===================================================================
--- 2.43.1/Makefile	(revision 48)
+++ 2.43.1/Makefile	(revision 49)
@@ -31,6 +31,8 @@
 COMPONENT_TARGETS += $(TOOLCHAIN_RK358X_GLIBC)
 COMPONENT_TARGETS += $(TOOLCHAIN_A33XX_GLIBC)
 
+COMPONENT_TARGETS += $(TOOLCHAIN_PPC8_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_PPC9_GLIBC)
 COMPONENT_TARGETS += $(TOOLCHAIN_POWER8_GLIBC)
 COMPONENT_TARGETS += $(TOOLCHAIN_POWER9_GLIBC)
 
@@ -517,6 +519,36 @@
 
 
 
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_PPC8_GLIBC)),)
+extra_configure_switches  = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
+extra_configure_switches += '--with-bugurl=https://radix.pro'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=ppc-radix-linux,ppc-linux,powerpc-radix-linux,powerpc-linux
+extra_configure_switches += --disable-compressed-debug-sections
+extra_configure_switches += --with-sysroot=$(sysroot_dir)
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_PPC9_GLIBC)),)
+extra_configure_switches  = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
+extra_configure_switches += '--with-bugurl=https://radix.pro'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=ppc-radix-linux,ppc-linux,powerpc-radix-linux,powerpc-linux
+extra_configure_switches += --disable-compressed-debug-sections
+extra_configure_switches += --with-sysroot=$(sysroot_dir)
+endif
+
 ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC)),)
 extra_configure_switches  = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
 extra_configure_switches += '--with-bugurl=https://radix.pro'