From: Bdale Garbee Date: Sat, 30 Jun 2012 19:00:33 +0000 (-0600) Subject: conditionalize build of ARM binaries on presence of arm-none-eabi-gcc in PATH X-Git-Tag: 1.1~126 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=f0ec8416f2e308e40e1b9f34a7c2549989fee5fb conditionalize build of ARM binaries on presence of arm-none-eabi-gcc in PATH --- 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