Radix cross Linux 3pp sources

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

423 Commits   0 Branches   0 Tags
author: kx <kx@radix.pro> 2023-04-06 09:58:44 +0300 committer: kx <kx@radix.pro> 2023-04-06 09:58:44 +0300 commit: c66a32050916ffe56531b9f3a515f824c02a7ec3 parent: fca57b9d9b3cde5c47f3153a1a77d68fcfed3f4b
Commit Summary:
ATF and Denx U-boot
Diffstat:
1 file changed, 18 insertions, 0 deletions
diff --git a/U-Boot/Makefile b/U-Boot/Makefile
new file mode 100644
index 0000000..56404c0
--- /dev/null
+++ b/U-Boot/Makefile
@@ -0,0 +1,25 @@
+
+#
+# Following command helps to cheate SUBDIRS list:
+# $ tree -fid .
+#
+
+SUBDIRS := ATF         \
+           denx
+
+
+all-recursive downloads_clean-recursive:
+	@set fnord $(MAKEFLAGS); amf=$$2; \
+	target=`echo $@ | sed s/-recursive//`; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  echo "Making $$target in $$subdir"; \
+	  local_target="$$target"; \
+	  (cd $$subdir && $(MAKE) $$fnord $$local_target) \
+	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	done; test -z "$$fail"
+
+all: all-recursive
+
+downloads_clean: downloads_clean-recursive
+
+.PHONY: all-recursive downloads_clean-recursive all downloads_clean