]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tosthreads/apps/TestBlockStorage/Makefile
Fix the problem where MicaZ failed the test
[tinyos-2.x.git] / apps / tosthreads / apps / TestBlockStorage / Makefile
index f4a0d1d3aa4299e0e27f554d3e4768f046609997..6861fb769cdb9f4a8d8084218a6719fe98b69217 100644 (file)
@@ -1,3 +1,10 @@
 COMPONENT=TestBlockStorageAppC
 
+ifneq ($(filter telosb,$(MAKECMDGOALS)),)
+  CFLAGS+=-DUSE_STM25P
+endif
+ifneq ($(filter micaz,$(MAKECMDGOALS)),)
+  CFLAGS+=-DUSE_AT45DB
+endif
+
 include $(MAKERULES)