Radix cross Linux 3pp sources

RcL sources – is a tree of Third Party and Radix source tarballs

343 Commits   0 Branches   0 Tags
ffc59822 (kx 2023-04-15 20:09:24 +0300  1) 
ffc59822 (kx 2023-04-15 20:09:24 +0300  2) #
ffc59822 (kx 2023-04-15 20:09:24 +0300  3) # Following command helps to cheate SUBDIRS list:
ffc59822 (kx 2023-04-15 20:09:24 +0300  4) # $ tree -fid .
ffc59822 (kx 2023-04-15 20:09:24 +0300  5) #
ffc59822 (kx 2023-04-15 20:09:24 +0300  6) 
ffc59822 (kx 2023-04-15 20:09:24 +0300  7) SUBDIRS := drivers  \
ffc59822 (kx 2023-04-15 20:09:24 +0300  8)            firmware
ffc59822 (kx 2023-04-15 20:09:24 +0300  9) 
ffc59822 (kx 2023-04-15 20:09:24 +0300 10) 
ffc59822 (kx 2023-04-15 20:09:24 +0300 11) all-recursive downloads_clean-recursive:
ffc59822 (kx 2023-04-15 20:09:24 +0300 12) 	@set fnord $(MAKEFLAGS); amf=$$2; \
ffc59822 (kx 2023-04-15 20:09:24 +0300 13) 	target=`echo $@ | sed s/-recursive//`; \
ffc59822 (kx 2023-04-15 20:09:24 +0300 14) 	list='$(SUBDIRS)'; for subdir in $$list; do \
ffc59822 (kx 2023-04-15 20:09:24 +0300 15) 	  echo "Making $$target in $$subdir"; \
ffc59822 (kx 2023-04-15 20:09:24 +0300 16) 	  local_target="$$target"; \
ffc59822 (kx 2023-04-15 20:09:24 +0300 17) 	  (cd $$subdir && $(MAKE) $$fnord $$local_target) \
ffc59822 (kx 2023-04-15 20:09:24 +0300 18) 	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
ffc59822 (kx 2023-04-15 20:09:24 +0300 19) 	done; test -z "$$fail"
ffc59822 (kx 2023-04-15 20:09:24 +0300 20) 
ffc59822 (kx 2023-04-15 20:09:24 +0300 21) all: all-recursive
ffc59822 (kx 2023-04-15 20:09:24 +0300 22) 
ffc59822 (kx 2023-04-15 20:09:24 +0300 23) downloads_clean: downloads_clean-recursive
ffc59822 (kx 2023-04-15 20:09:24 +0300 24) 
ffc59822 (kx 2023-04-15 20:09:24 +0300 25) .PHONY: all-recursive downloads_clean-recursive all downloads_clean