summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAxel Fagerstedt <axel.fagerstedt@linaro.org>2013-03-05 11:39:24 +0100
committerAxel Fagerstedt <axel.fagerstedt@linaro.org>2013-03-05 11:41:51 +0100
commita1fcdf157a30fd400f0d7a3d519c4bbf17909aee (patch)
tree9830bb848428dd00676e1ea7811619b9ef38fc92 /Makefile
parentcbbf0b3012d3ebe937da11230369c2e83196c474 (diff)
downloadlinaro-android-kernel-test-a1fcdf157a30fd400f0d7a3d519c4bbf17909aee.tar.gz
Add Makefile for building all tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..06f5f71
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+
+DIRS = alarmdevtest ashmemtest-basic ashmemtest-expanded logger #sync-basic does not build atm
+CLEANDIRS = $(foreach dir,$(DIRS),clean-$(dir))
+
+.PHONY: all clean $(DIRS) $(CLEANDIRS)
+
+all: $(DIRS)
+$(DIRS):
+ $(MAKE) -C $@
+
+clean: $(CLEANDIRS)
+$(CLEANDIRS):
+ $(MAKE) -C $(@:clean-%=%) clean
+
+help:
+ @echo 'targets:'
+ @echo ' all: builds all tests'
+ @echo ' clean: cleans all generatd files'