Radix cross Linux Toolchains

Toolchains for all supported by Radix cross Linux devices

80 Commits   2 Branches   13 Tags
     5         kx #
     5         kx # Download: http://www.gnu.org/prep/ftp.html
     5         kx #
     5         kx # You can use the generic url http://ftpmirror.gnu.org 
     5         kx # to automatically choose a nearby and up-to-date mirror.
     5         kx #
     5         kx # original url: http://ftp.gnu.org/gnu/gcc/gcc-$(version)
     5         kx #
     5         kx 
     5         kx COMPONENT_TARGETS = $(TOOLCHAIN_NOARCH)
     5         kx 
     5         kx 
     5         kx include ../../../../build-system/config.mk
     5         kx 
     5         kx 
     5         kx url         = $(DOWNLOAD_SERVER)/sources/GNU/gcc/gcc-$(version)
     5         kx 
     5         kx version     = 12.2.0
     5         kx 
     5         kx tarballs    = $(addsuffix .tar.xz, $(addprefix gcc-, $(version)))
     5         kx sha1s       = $(addsuffix .sha1sum, $(tarballs))
     5         kx 
     5         kx 
     5         kx patches     = $(CURDIR)/../patches/gcc-12.2.0-at91sam7s-newlib.patch
     5         kx patches    += $(CURDIR)/../patches/gcc-12.2.0-a9xx-newlib.patch
     5         kx patches    += $(CURDIR)/../patches/gcc-12.2.0-a33xx-newlib.patch
     5         kx 
     5         kx patches    += $(CURDIR)/../patches/gcc-12.2.0-aarch64-multilib.patch
     5         kx patches    += $(CURDIR)/../patches/gcc-12.2.0-ppc64-interpreter.patch
     5         kx patches    += $(CURDIR)/../patches/gcc-12.2.0-ppc64-multilib.patch
     5         kx patches    += $(CURDIR)/../patches/gcc-12.2.0-ppc64le-multilib.patch
     5         kx patches    += $(CURDIR)/../patches/gcc-12.2.0-x86_64-interpreter.patch
     5         kx patches    += $(CURDIR)/../patches/gcc-12.2.0-x86_64-multilib.patch
     5         kx 
     5         kx patches    += $(CURDIR)/../patches/gcc-12.2.0-libstdc++-docs.patch
     5         kx patches    += $(CURDIR)/../patches/gcc-12.2.0-libtool-no-rpath.patch
     5         kx patches    += $(CURDIR)/../patches/gcc-12.2.0-fortran-interface.patch
     5         kx patches    += $(CURDIR)/../patches/gcc-12.2.0-no-fixincludes.patch
     5         kx 
     5         kx 
     5         kx .NOTPARALLEL: $(patches)
     5         kx 
     5         kx 
     5         kx BUILD_TARGETS = $(tarballs) $(sha1s) $(patches)
     5         kx 
     5         kx 
     5         kx include ../../../../build-system/core.mk
     5         kx 
     5         kx 
     5         kx .PHONY: download_clean
     5         kx 
     5         kx 
     5         kx $(tarballs):
     5         kx 	@echo -e "\n======= Downloading source tarballs =======" ; \
     5         kx 	 for tarball in $(tarballs) ; do \
     5         kx 	   echo "$(url)/$$tarball" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & \
     5         kx 	 done ; wait
     5         kx 
     5         kx $(sha1s): $(tarballs)
     5         kx 	@for sha in $@ ; do \
     5         kx 	   echo -e "\n======= Downloading '$$sha' signature =======\n" ; \
     5         kx 	   echo "$(url)/$$sha" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & wait %1 ; \
     5         kx 	   touch $$sha ; \
     5         kx 	   echo -e "\n======= Check the '$$sha' sha1sum =======\n" ; \
     5         kx 	   sha1sum --check $$sha ; ret="$$?" ; \
     5         kx 	   if [ "$$ret" == "1" ]; then \
     5         kx 	     echo -e "\n======= ERROR: Bad '$$sha' sha1sum =======\n" ; \
     5         kx 	     exit 1 ; \
     5         kx 	   fi ; \
     5         kx 	 done
     5         kx 
     5         kx $(patches): $(sha1s)
     5         kx 	@echo -e "\n======= Create Patches =======\n" ; \
     5         kx 	 ( cd create-12.2.0-at91sam7s-newlib-patch          ; ./create.patch.sh ) ; \
     5         kx 	 ( cd create-12.2.0-a9xx-newlib-patch               ; ./create.patch.sh ) ; \
     5         kx 	 ( cd create-12.2.0-a33xx-newlib-patch              ; ./create.patch.sh ) ; \
     5         kx 	 ( cd create-12.2.0-aarch64-multilib-patch          ; ./create.patch.sh ) ; \
     5         kx 	 ( cd create-12.2.0-ppc64-interpreter-patch         ; ./create.patch.sh ) ; \
     5         kx 	 ( cd create-12.2.0-ppc64-multilib-patch            ; ./create.patch.sh ) ; \
     5         kx 	 ( cd create-12.2.0-ppc64le-multilib-patch          ; ./create.patch.sh ) ; \
     5         kx 	 ( cd create-12.2.0-x86_64-interpreter-patch        ; ./create.patch.sh ) ; \
     5         kx 	 ( cd create-12.2.0-x86_64-multilib-patch           ; ./create.patch.sh ) ; \
     5         kx 	 ( cd create-12.2.0-libstdc++-docs-patch            ; ./create.patch.sh ) ; \
     5         kx 	 ( cd create-12.2.0-libtool-no-rpath-patch          ; ./create.patch.sh ) ; \
     5         kx 	 ( cd create-12.2.0-fortran-interface-patch         ; ./create.patch.sh ) ; \
     5         kx 	 ( cd create-12.2.0-no-fixincludes-patch            ; ./create.patch.sh ) ; \
     5         kx 	 echo -e "\n"
     5         kx 
     5         kx download_clean:
     5         kx 	@rm -f $(tarballs) $(sha1s) $(patches)