Allow ranning experiments for all kernels
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 23 Sep 2011 22:59:40 +0000 (00:59 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 24 Sep 2011 12:46:27 +0000 (14:46 +0200)
gw-tests/Makefile

index 580d3ad..524ddd1 100644 (file)
@@ -36,3 +36,14 @@ $(foreach result_dir,$(PLOT_SCRIPTS:%/plot.sh=%),$(eval $(call plotall_template,
 .PHONY: html
 html:
        ./genhtml/genhtml.py results
+
+KERNELS=2.6.33.7-00007-g9c0ff90 2.6.33.7-rt29-00004-g92487e4 2.6.36.2-00015-g4f1bc4e 3.0.4-00007-g1c8c373 3.0.4-rt14-00008-gb2052fd
+
+.PHONY: allkern $(KERNELS:%=kernel-%)
+allkern: $(KERNELS:%=kernel-%)
+
+$(KERNELS:%=kernel-%): kernel-%: 
+       ln -sf uImage-$* /srv/tftp/ryu/uImage
+       dtrrts /dev/ttyUSB0 1 1
+       sleep 30
+       $(MAKE)