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
   194         kx 
   194         kx COMPONENT_TARGETS = $(HARDWARE_NOARCH)
   194         kx 
   194         kx 
   194         kx include ../../../../../build-system/constants.mk
   194         kx 
   194         kx 
   194         kx url         = $(DOWNLOAD_SERVER)/sources/packages/x/mesa/23.x
   194         kx 
   194         kx versions    = 23.2.1
   194         kx pkgname     = mesa
   194         kx suffix      = tar.xz
   194         kx 
   194         kx tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
   194         kx sha1s       = $(addsuffix .sha1sum, $(tarballs))
   194         kx 
   194         kx patches     = $(CURDIR)/patches/mesa-23.2.1-gallium-vc4-format.patch
   194         kx patches    += $(CURDIR)/patches/mesa-23.2.1-llvm-cross.patch
   384         kx patches    += $(CURDIR)/patches/mesa-23.2.1-baikal-m1.patch
   194         kx 
   194         kx .NOTPARALLEL: $(patches)
   194         kx 
   194         kx 
   194         kx BUILD_TARGETS = $(tarballs) $(sha1s) $(patches)
   194         kx 
   194         kx 
   194         kx include ../../../../../build-system/core.mk
   194         kx 
   194         kx 
   194         kx .PHONY: download_clean
   194         kx 
   194         kx 
   194         kx $(tarballs):
   194         kx 	@echo -e "\n======= Downloading source tarballs =======" ; \
   194         kx 	 for tarball in $(tarballs) ; do \
   194         kx 	   echo "$(url)/$$tarball" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & \
   194         kx 	 done ; wait
   194         kx 
   194         kx $(sha1s): $(tarballs)
   194         kx 	@for sha in $@ ; do \
   194         kx 	   echo -e "\n======= Downloading '$$sha' signature =======\n" ; \
   194         kx 	   echo "$(url)/$$sha" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & wait %1 ; \
   194         kx 	   touch $$sha ; \
   194         kx 	   echo -e "\n======= Check the '$$sha' sha1sum =======\n" ; \
   194         kx 	   sha1sum --check $$sha ; ret="$$?" ; \
   194         kx 	   if [ "$$ret" == "1" ]; then \
   194         kx 	     echo -e "\n======= ERROR: Bad '$$sha' sha1sum =======\n" ; \
   194         kx 	     exit 1 ; \
   194         kx 	   fi ; \
   194         kx 	 done
   194         kx 
   194         kx $(patches): $(sha1s)
   194         kx 	@echo -e "\n======= Create Patches =======\n" ; \
   194         kx 	 ( cd create-23.2.1-gallium-vc4-format-patch ; ./create.patch.sh ) ; \
   194         kx 	 ( cd create-23.2.1-llvm-cross-patch         ; ./create.patch.sh ) ; \
   384         kx 	 ( cd create-23.2.1-baikal-m1-patch          ; ./create.patch.sh ) ; \
   194         kx 	 echo -e "\n"
   194         kx 
   194         kx download_clean:
   194         kx 	@rm -f $(tarballs) $(sha1s) $(patches)