diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-08 21:21:46 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-08 21:21:46 +0000 |
commit | ebad9d789e8f4be10d95dd6a58af9cf8039bb6ba (patch) | |
tree | 6c2ba7c5ef9da7863aeb78f2a15ee8d1a0d7ebc2 /nuttx/configs/z8f64200100kit | |
parent | f607dc94253a322604bb5f346ae7b2703bad3c28 (diff) | |
download | px4-nuttx-ebad9d789e8f4be10d95dd6a58af9cf8039bb6ba.tar.gz px4-nuttx-ebad9d789e8f4be10d95dd6a58af9cf8039bb6ba.tar.bz2 px4-nuttx-ebad9d789e8f4be10d95dd6a58af9cf8039bb6ba.zip |
Need to use cygpath consistently for compilation in subdirectories
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1439 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/z8f64200100kit')
-rw-r--r-- | nuttx/configs/z8f64200100kit/ostest/Make.defs | 4 | ||||
-rw-r--r-- | nuttx/configs/z8f64200100kit/src/Makefile | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/configs/z8f64200100kit/ostest/Make.defs b/nuttx/configs/z8f64200100kit/ostest/Make.defs index 72e025a40..1428ef207 100644 --- a/nuttx/configs/z8f64200100kit/ostest/Make.defs +++ b/nuttx/configs/z8f64200100kit/ostest/Make.defs @@ -162,12 +162,12 @@ endef define COMPILE @#echo "CC: $1" - @$(CC) $(CFLAGS) $1 + @(wfile=`cygpath -w $1`; $(CC) $(CFLAGS) $$wfile) endef define ASSEMBLE @#echo "AS: $1" - @$(AS) -c $(AFLAGS) $1 + @(wfile=`cygpath -w $1`; $(AS) $(AFLAGS) $$wfile) endef define ARCHIVE diff --git a/nuttx/configs/z8f64200100kit/src/Makefile b/nuttx/configs/z8f64200100kit/src/Makefile index cb7c22108..7d68ee22c 100644 --- a/nuttx/configs/z8f64200100kit/src/Makefile +++ b/nuttx/configs/z8f64200100kit/src/Makefile @@ -61,7 +61,7 @@ $(AOBJS): %$(OBJEXT): %$(ASMEXT) $(call ASSEMBLE, $<, $@) $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c - $(call COMPILE, `cygpath -w $<`, $@) + $(call COMPILE, $<, $@) libboard$(LIBEXT): $(OBJS) @( for obj in $(OBJS) ; do \ |