summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Geiselbrecht <travisg@google.com>2012-06-26 19:09:12 -0700
committerTravis Geiselbrecht <travisg@google.com>2012-06-26 19:09:12 -0700
commit795313e85260a7d61aeab7af1226b2f48019d307 (patch)
treee95fa7d4f16d3e603d53dda056de32fca721dc4f
parent2c02c087d74cf944f2a70a83108df0e4f2c8d796 (diff)
downloadadk2012_demo-795313e85260a7d61aeab7af1226b2f48019d307.tar.gz
[makefile build] disable .d files on cygwin for now
- cygwin .d files have a : in the path, which screws up the make rule mechanism. Change-Id: Ied3eec8d2b666126540da75b750af1b8c0f916aa
-rw-r--r--MakefileBasedBuild/app/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/MakefileBasedBuild/app/Makefile b/MakefileBasedBuild/app/Makefile
index bd2bbbe..2eea34a 100644
--- a/MakefileBasedBuild/app/Makefile
+++ b/MakefileBasedBuild/app/Makefile
@@ -65,6 +65,8 @@ OBJ = obj
# Tools
#-------------------------------------------------------------------------------
+UNAMEO=$(shell uname -o)
+
# Tool suffix when cross-compiling
CROSS_COMPILE = arm-none-eabi-
@@ -194,5 +196,8 @@ clean:
rm -fR $(OBJ) $(BIN)
ifeq ($(filter $(MAKECMDGOALS), clean), )
+# cygwin toolchain screws up .d files with ':' characters in drive:\ paths
+ifneq ($(UNAMEO),Cygwin)
-include $(DEPS)
endif
+endif