Platform

The main Radix cross Linux repository contains build scripts of the GNU/Linux distribution.

809 Commits   5 Branches   3 Tags   |
    50         kx 
    62         kx COMPONENT_TARGETS = $(HARDWARE_NOARCH)
    50         kx 
    50         kx 
    50         kx include ../../../../build-system/constants.mk
    50         kx 
    50         kx 
    50         kx url         = $(DOWNLOAD_SERVER)/sources/packages/a/acl
    50         kx 
    50         kx versions    = 2.2.51 2.2.52
    50         kx pkgname     = acl
    50         kx suffix      = src.tar.gz
    50         kx 
    50         kx tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
    50         kx sha1s       = $(addsuffix .sha1sum, $(tarballs))
    50         kx 
    62         kx patches     = $(CURDIR)/patches/acl-2.2.51.patch
    62         kx patches    += $(CURDIR)/patches/acl-2.2.52.patch
    50         kx 
    62         kx .NOTPARALLEL: $(patches)
    50         kx 
    50         kx 
    62         kx BUILD_TARGETS = $(tarballs) $(sha1s) $(patches)
    62         kx 
    62         kx 
    50         kx include ../../../../build-system/core.mk
    50         kx 
    50         kx 
    50         kx .PHONY: download_clean
    50         kx 
    50         kx 
    50         kx $(tarballs):
    62         kx 	@echo -e "\n======= Downloading source tarballs =======" ; \
    62         kx 	 for tarball in $(tarballs) ; do \
    62         kx 	   echo "$(url)/$$tarball" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) -i & \
    62         kx 	 done ; wait
    50         kx 
    62         kx $(sha1s): $(tarballs)
    50         kx 	@for sha in $@ ; do \
    62         kx 	   echo -e "\n======= Downloading '$$sha' signature =======\n" ; \
    62         kx 	   echo "$(url)/$$sha" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) -i & wait %1 ; \
    62         kx 	   touch $$sha ; \
    62         kx 	   echo -e "\n======= Check the '$$sha' sha1sum =======\n" ; \
    62         kx 	   sha1sum --check $$sha ; ret="$$?" ; \
    62         kx 	   if [ "$$ret" == "1" ]; then \
    62         kx 	     echo -e "\n======= ERROR: Bad '$$sha' sha1sum =======\n" ; \
    62         kx 	     exit 1 ; \
    62         kx 	   fi ; \
    62         kx 	 done
    50         kx 
    62         kx $(patches): $(sha1s)
    62         kx 	@echo -e "\n======= Create Patches =======\n" ; \
    62         kx 	 ( cd create-2.2.51-patch ; ./create.patch.sh ) ; \
    62         kx 	 ( cd create-2.2.52-patch ; ./create.patch.sh ) ; \
    62         kx 	 echo -e "\n"
    62         kx 
    50         kx download_clean:
    62         kx 	@rm -f $(tarballs) $(sha1s) $(patches)