summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2012-06-30 13:00:33 -0600
committerBdale Garbee <bdale@gag.com>2012-06-30 13:00:33 -0600
commitf0ec8416f2e308e40e1b9f34a7c2549989fee5fb (patch)
tree9ab11fc215798b53745061015f6b8434eaaa4e1a /src
parentedbc5d27c8c2936b59ff5289276d9198b501ebc8 (diff)
conditionalize build of ARM binaries on presence of arm-none-eabi-gcc in PATH
Diffstat (limited to 'src')
-rw-r--r--src/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 3fca2ab2..1b0dabe4 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -15,8 +15,6 @@ vpath matrix.5c kalman
include Version
SUBDIRS=\
- megametrum-v0.1 \
- stm-bringup stm-demo \
telemetrum-v1.2 telemetrum-v1.1 telemetrum-v1.0 \
teledongle-v0.2 teledongle-v0.1 \
telemini-v1.0 telenano-v0.1 \
@@ -26,6 +24,10 @@ SUBDIRS=\
tidongle test telescience-v0.1 telepyro-v0.1 \
teleterra-v0.2 teleshield-v0.1
+ifneq ($(shell which arm-none-eabi-gcc),)
+ SUBDIRS += megametrum-v0.1 stm-bringup stm-demo
+endif
+
all: all-local all-recursive
RECURSIVE_TARGETS = all-recursive clean-recursive install-recursive