From 544a21b80c343799bfac8fc16da210bcc72cc527 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 10 Jan 2008 18:40:16 +0000 Subject: [PATCH] Fix Windows path conversions git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@546 42af7a65-404d-4744-a932-0658087f49c3 --- arch/z16/src/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/z16/src/Makefile b/arch/z16/src/Makefile index 35aec46646..0cae1cf8a2 100644 --- a/arch/z16/src/Makefile +++ b/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