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/grub
     5         kx 
     5         kx versions    = 2.06
     5         kx pkgname     = grub
     5         kx suffix      = tar.xz
     5         kx 
     5         kx tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
     5         kx sha1s       = $(addsuffix .sha1sum, $(tarballs))
     5         kx 
     5         kx patches     = $(CURDIR)/patches/grub-2.06-initrd-names.patch
     5         kx patches    += $(CURDIR)/patches/grub-2.06-dejavu-sans.patch
     5         kx patches    += $(CURDIR)/patches/grub-2.06-align-struct.patch
     5         kx patches    += $(CURDIR)/patches/grub-2.06-fonts-ttf.patch
     5         kx patches    += $(CURDIR)/patches/grub-2.06-no-efi.patch
     5         kx patches    += $(CURDIR)/patches/grub-2.06-gensyminfo.patch
     5         kx patches    += $(CURDIR)/patches/grub-2.06-modinfo.patch
   216         kx patches    += $(CURDIR)/patches/grub-2.06-normal-welcome.patch
   216         kx patches    += $(CURDIR)/patches/grub-2.06-riscv-image-header.patch
   216         kx patches    += $(CURDIR)/patches/grub-2.06-riscv-linux-loader.patch
   216         kx patches    += $(CURDIR)/patches/grub-2.06-riscv-relocation.patch
     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" ; \
   216         kx 	 ( cd create-2.06-initrd-names-patch       ; ./create.patch.sh ) ; \
   216         kx 	 ( cd create-2.06-dejavu-sans-patch        ; ./create.patch.sh ) ; \
   216         kx 	 ( cd create-2.06-align-struct-patch       ; ./create.patch.sh ) ; \
   216         kx 	 ( cd create-2.06-fonts-ttf-patch          ; ./create.patch.sh ) ; \
   216         kx 	 ( cd create-2.06-no-efi-patch             ; ./create.patch.sh ) ; \
   216         kx 	 ( cd create-2.06-gensyminfo-patch         ; ./create.patch.sh ) ; \
   216         kx 	 ( cd create-2.06-modinfo-patch            ; ./create.patch.sh ) ; \
   216         kx 	 ( cd create-2.06-normal-welcome-patch     ; ./create.patch.sh ) ; \
   216         kx 	 ( cd create-2.06-riscv-image-header-patch ; ./create.patch.sh ) ; \
   216         kx 	 ( cd create-2.06-riscv-linux-loader-patch ; ./create.patch.sh ) ; \
   216         kx 	 ( cd create-2.06-riscv-relocation-patch   ; ./create.patch.sh ) ; \
     5         kx 	 echo -e "\n"
     5         kx 
     5         kx download_clean:
     5         kx 	@rm -f $(tarballs) $(sha1s) $(patches)