diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-10 18:40:16 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-10 18:40:16 +0000 |
commit | 58a696017309806fc345038ba18ac61b17c30f7e (patch) | |
tree | b6c146b6f897657d98eea55da616ccc28d949c1e /nuttx/arch/z16 | |
parent | 45dd00a858ab5294f218ab8cda1cc14e6daf7cbc (diff) | |
download | px4-nuttx-58a696017309806fc345038ba18ac61b17c30f7e.tar.gz px4-nuttx-58a696017309806fc345038ba18ac61b17c30f7e.tar.bz2 px4-nuttx-58a696017309806fc345038ba18ac61b17c30f7e.zip |
Fix Windows path conversions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@546 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z16')
-rw-r--r-- | nuttx/arch/z16/src/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/nuttx/arch/z16/src/Makefile b/nuttx/arch/z16/src/Makefile index 35aec4664..0cae1cf8a 100644 --- a/nuttx/arch/z16/src/Makefile +++ b/nuttx/arch/z16/src/Makefile @@ -75,15 +75,12 @@ libarch$(LIBEXT): $(OBJS) board/libboard$(LIBEXT): @$(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) -wlinklibs: - $(foreach LIB, $(LINKLIBS), $(eval WLINKLIBS += ${shell cygpath -w $(LIB)})) - -nuttx.linkcmd: $(LINKCMDTEMPLATE) wlinklibs +nuttx.linkcmd: $(LINKCMDTEMPLATE) @cp -f $(LINKCMDTEMPLATE) nuttx.linkcmd @echo "\"${shell cygpath -w $(TOPDIR)/nuttx}\"= \\" >>nuttx.linkcmd @echo " ${shell cygpath -w $(ARCHSRCDIR)/$(HEAD_AOBJ)}, \\" >>nuttx.linkcmd - @( for lib in $(WLINKLIBS); do \ - echo " $${lib}, \\" >>nuttx.linkcmd; \ + @( for lib in $(LINKLIBS); do \ + echo " `cygpath -w $(TOPDIR)/$${lib}`, \\" >>nuttx.linkcmd; \ done ; ) @echo " ${shell cygpath -w $(ARCHSRCDIR)/board/libboard$(LIBEXT)}" >>nuttx.linkcmd |