From: Keith Packard Date: Wed, 9 Oct 2013 19:37:30 +0000 (-0700) Subject: altos: Messed up the ifeq syntax a bit so ARM bits weren't getting built X-Git-Tag: 1.2.9.4~53 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=c584b5fc1128c7bfd7fb921ddc3a8ec498803b53 altos: Messed up the ifeq syntax a bit so ARM bits weren't getting built $(x) is not the same as ($x) Signed-off-by: Keith Packard --- diff --git a/src/Makefile b/src/Makefile index 3e4ed68d..a0a271c6 100644 --- a/src/Makefile +++ b/src/Makefile @@ -39,20 +39,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)