altos: Move TeleMetrum v2.0 to using internal eeprom for config
[fw/altos] / src / Makefile
index 3e4ed68d4d630180872444c45012bb21b1cccdc1..e7fa728bcfe1a66eb4058c7d20594ef38eb633f9 100644 (file)
@@ -27,6 +27,7 @@ SDCCDIRS=\
 ARMM3DIRS=\
        telemega-v0.1 telemega-v0.1/flash-loader \
        telemega-v0.3 telemega-v0.3/flash-loader \
+       telemetrum-v2.0 telemetrum-v2.0/flash-loader \
        megadongle-v0.1 megadongle-v0.1/flash-loader \
        telegps-v0.3 telegps-v0.3/flash-loader \
        stm-bringup stm-demo \
@@ -39,20 +40,24 @@ ARMM0DIRS=\
 AVRDIRS=\
        telescience-v0.1 telescience-pwm micropeak nanopeak-v0.1
 
+SUBDIRS=
+
 ifeq ($(strip $(HAVE_SDCC)),yes)
-       SUBDIRS += $(SDCCDIRS)
+SUBDIRS+=$(SDCCDIRS)
 endif
 
-ifeq ($(strip ($HAVE_ARM_M3_CC)),yes)
-       SUBDIRS += $(ARMM3DIRS)
+ifeq ($(strip $(HAVE_ARM_M3_CC)),yes)
+SUBDIRS+=$(ARMM3DIRS)
+foo=bar
 endif
 
-ifeq ($(strip ($HAVE_ARM_M0_CC)),yes)
-       SUBDIRS += $(ARMM0DIRS)
+ifeq ($(strip $(HAVE_ARM_M0_CC)),yes)
+SUBDIRS+=$(ARMM0DIRS)
+baz=bletch
 endif
 
 ifeq ($(strip $(HAVE_AVR_CC)),yes)
-       SUBDIRS += $(AVRDIRS)
+SUBDIRS += $(AVRDIRS)
 endif
 
 ALLDIRS=$(SDCCDIRS) $(ARMM3DIRS) $(ARMM0DIRS) $(AVRDIRS)