diff options
author | Travis Geiselbrecht <travisg@google.com> | 2012-06-26 19:09:12 -0700 |
---|---|---|
committer | Travis Geiselbrecht <travisg@google.com> | 2012-06-26 19:09:12 -0700 |
commit | 795313e85260a7d61aeab7af1226b2f48019d307 (patch) | |
tree | e95fa7d4f16d3e603d53dda056de32fca721dc4f | |
parent | 2c02c087d74cf944f2a70a83108df0e4f2c8d796 (diff) | |
download | adk2012_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/Makefile | 5 |
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
|