Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
     5         kx 
     5         kx COMPONENT_TARGETS = $(HARDWARE_NOARCH)
     5         kx 
     5         kx 
     5         kx include ../../../../build-system/constants.mk
     5         kx 
     5         kx 
     5         kx url         = $(DOWNLOAD_SERVER)/sources/GNU/gcc
     5         kx 
     5         kx version     = 12.2.0
     5         kx pkgname     = gcc
     5         kx suffix      = tar.xz
     5         kx 
     5         kx tarball     = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(version)))
     5         kx sha1s       = $(addsuffix .sha1sum, $(tarball))
     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-build-libcpp.patch
     5         kx patches    += $(CURDIR)/patches/gcc-12.2.0-ccache-ada.patch
     5         kx patches    += $(CURDIR)/patches/gcc-12.2.0-fixinc-gmp-inside.patch
     5         kx patches    += $(CURDIR)/patches/gcc-12.2.0-fixinc-gmp-outside.patch
     5         kx patches    += $(CURDIR)/patches/gcc-12.2.0-gmp-inside.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 = $(tarball) $(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 $(tarball):
     5         kx 	@echo -e "\n======= Downloading source tarballs =======\n" ; \
     5         kx 	 for tarball in $(tarball) ; do \
     5         kx 	   echo "$(url)/$(pkgname)-$(version)/$$tarball" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & \
     5         kx 	 done ; wait
     5         kx 
     5         kx $(sha1s): $(tarball)
     5         kx 	@echo -e "\n======= Downloading '$@' signature =======\n" ; \
     5         kx 	 echo "$(url)/$(pkgname)-$(version)/$@" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & wait %1 ; \
     5         kx 	 touch $@ ; \
     5         kx 	 echo -e "\n======= Check the '$@' sha1sum =======\n" ; \
     5         kx 	 ( sha1sum --check $@ ; ret="$$?" ; \
     5         kx 	   if [ "$$ret" == "1" ]; then \
     5         kx 	     echo -e "\n======= ERROR: Bad '$@' sha1sum =======\n" ; \
     5         kx 	     exit 1 ; \
     5         kx 	   fi ; \
     5         kx 	 )
     5         kx 
     5         kx $(patches): $(sha1s)
     5         kx 	@echo -e "\n======= Create Patches =======\n" ; \
     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-build-libcpp-patch              ; ./create.patch.sh ) ; \
     5         kx 	 ( cd create-12.2.0-ccache-ada-patch                ; ./create.patch.sh ) ; \
     5         kx 	 ( cd create-12.2.0-fixinc-gmp-inside-patch         ; ./create.patch.sh ) ; \
     5         kx 	 ( cd create-12.2.0-fixinc-gmp-outside-patch        ; ./create.patch.sh ) ; \
     5         kx 	 ( cd create-12.2.0-gmp-inside-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 $(tarball) $(sha1s) $(patches)