diff options
author | Bdale Garbee <bdale@gag.com> | 2012-06-30 13:00:33 -0600 |
---|---|---|
committer | Bdale Garbee <bdale@gag.com> | 2012-06-30 13:00:33 -0600 |
commit | f0ec8416f2e308e40e1b9f34a7c2549989fee5fb (patch) | |
tree | 9ab11fc215798b53745061015f6b8434eaaa4e1a | |
parent | edbc5d27c8c2936b59ff5289276d9198b501ebc8 (diff) |
conditionalize build of ARM binaries on presence of arm-none-eabi-gcc in PATH
-rw-r--r-- | src/Makefile | 6 |
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 |