Skip to content
Snippets Groups Projects
Commit 544a21b8 authored by patacongo's avatar patacongo
Browse files

Fix Windows path conversions

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@546 42af7a65-404d-4744-a932-0658087f49c3
parent 291270be
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment