summaryrefslogtreecommitdiff
path: root/hal/drivers/Baikal/M1000/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hal/drivers/Baikal/M1000/Makefile')
-rw-r--r--hal/drivers/Baikal/M1000/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/hal/drivers/Baikal/M1000/Makefile b/hal/drivers/Baikal/M1000/Makefile
new file mode 100644
index 0000000..e2ac08b
--- /dev/null
+++ b/hal/drivers/Baikal/M1000/Makefile
@@ -0,0 +1,24 @@
+
+#
+# Following command helps to cheate SUBDIRS list:
+# $ tree -fid .
+#
+
+SUBDIRS := vdec
+
+
+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