From f9dc3b1f89b6504e503d930352f77c0e7af91651 Mon Sep 17 00:00:00 2001 From: James Cotton Date: Sun, 10 Jun 2012 14:40:50 -0500 Subject: [PATCH] Enable simposix on next for linux only. Keeps all_flight building on all platforms --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 67571d3f8..8a55572e8 100644 --- a/Makefile +++ b/Makefile @@ -630,7 +630,7 @@ all_$(1)_clean: $$(addsuffix _clean, $$(filter bu_$(1), $$(BU_TARGETS))) all_$(1)_clean: $$(addsuffix _clean, $$(filter ef_$(1), $$(EF_TARGETS))) endef -ALL_BOARDS := coptercontrol pipxtreme +ALL_BOARDS := coptercontrol pipxtreme simposix # Friendly names of each board (used to find source tree) coptercontrol_friendly := CopterControl @@ -638,6 +638,12 @@ pipxtreme_friendly := PipXtreme revolution_friendly := Revolution simposix_friendly := SimPosix +# SimPosix only builds on Linux so drop it from the list for +# all other platforms. +ifneq ($(UNAME), Linux) +ALL_BOARDS := $(filter-out simposix, $(ALL_BOARDS)) +endif + # Start out assuming that we'll build fw, bl and bu for all boards FW_BOARDS := $(ALL_BOARDS) BL_BOARDS := $(ALL_BOARDS)