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/z16f2800100zcog | |
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/z16f2800100zcog')
-rw-r--r-- | nuttx/configs/z16f2800100zcog/ostest/Make.defs | 4 | ||||
-rwxr-xr-x | nuttx/configs/z16f2800100zcog/pashello/Make.defs | 6 | ||||
-rw-r--r-- | nuttx/configs/z16f2800100zcog/src/Makefile | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/configs/z16f2800100zcog/ostest/Make.defs b/nuttx/configs/z16f2800100zcog/ostest/Make.defs index 58a4dbc5d..273811bf7 100644 --- a/nuttx/configs/z16f2800100zcog/ostest/Make.defs +++ b/nuttx/configs/z16f2800100zcog/ostest/Make.defs @@ -136,12 +136,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/z16f2800100zcog/pashello/Make.defs b/nuttx/configs/z16f2800100zcog/pashello/Make.defs index d77b201b9..c053a2650 100755 --- a/nuttx/configs/z16f2800100zcog/pashello/Make.defs +++ b/nuttx/configs/z16f2800100zcog/pashello/Make.defs @@ -136,12 +136,12 @@ endef define COMPILE @#echo "CC: $1" - @$(CC) $(CFLAGS) $1 -endef + @(wfile=`cygpath -w $1`; $(CC) $(CFLAGS) $$wfile) +eendef define ASSEMBLE @#echo "AS: $1" - @$(AS) -c $(AFLAGS) $1 + @(wfile=`cygpath -w $1`; $(AS) $(AFLAGS) $$wfile) endef define ARCHIVE diff --git a/nuttx/configs/z16f2800100zcog/src/Makefile b/nuttx/configs/z16f2800100zcog/src/Makefile index 8291ab20f..45564b014 100644 --- a/nuttx/configs/z16f2800100zcog/src/Makefile +++ b/nuttx/configs/z16f2800100zcog/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 \ |