summaryrefslogtreecommitdiff
path: root/apps/vsn
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-10 16:08:08 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-10 16:08:08 +0000
commitcd19f6d867bbe3da36b30f9897aeb3b65e0eee08 (patch)
tree020cc282cd887dca93dbf617d54816a3669caf13 /apps/vsn
parentdbbf70ac72fd2770a5999f116a29d780eae5ce3c (diff)
downloadpx4-nuttx-cd19f6d867bbe3da36b30f9897aeb3b65e0eee08.tar.gz
px4-nuttx-cd19f6d867bbe3da36b30f9897aeb3b65e0eee08.tar.bz2
px4-nuttx-cd19f6d867bbe3da36b30f9897aeb3b65e0eee08.zip
Changes for clean build of app/ directory with Windows toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3488 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/vsn')
-rw-r--r--apps/vsn/Makefile6
-rw-r--r--apps/vsn/hello/Makefile6
-rw-r--r--apps/vsn/poweroff/Makefile6
-rw-r--r--apps/vsn/ramtron/Makefile6
-rw-r--r--apps/vsn/sdcard/Makefile6
5 files changed, 23 insertions, 7 deletions
diff --git a/apps/vsn/Makefile b/apps/vsn/Makefile
index a2dab4dbc..123df2747 100644
--- a/apps/vsn/Makefile
+++ b/apps/vsn/Makefile
@@ -46,7 +46,7 @@ nothing:
.context:
@for dir in $(SUBDIRS) ; do \
- $(MAKE) -C $$dir context TOPDIR="$(TOPDIR)" APPDIR=$(APPDIR); \
+ $(MAKE) -C $$dir context TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"; \
done
@touch $@
@@ -54,12 +54,12 @@ context: .context
depend:
@for dir in $(SUBDIRS) ; do \
- $(MAKE) -C $$dir depend TOPDIR="$(TOPDIR)" APPDIR=$(APPDIR); \
+ $(MAKE) -C $$dir depend TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"; \
done
clean:
@for dir in $(SUBDIRS) ; do \
- $(MAKE) -C $$dir clean TOPDIR="$(TOPDIR)" APPDIR=$(APPDIR); \
+ $(MAKE) -C $$dir clean TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"; \
done
distclean: clean
diff --git a/apps/vsn/hello/Makefile b/apps/vsn/hello/Makefile
index 80d6a03e9..23e8890c2 100644
--- a/apps/vsn/hello/Makefile
+++ b/apps/vsn/hello/Makefile
@@ -61,7 +61,11 @@ COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
-BIN = $(APPDIR)/libapps$(LIBEXT)
+ifeq ($(WINTOOL),y)
+ BIN = "${shell cygpath -w $(APPDIR)/libapps$(LIBEXT)}"
+else
+ BIN = "$(APPDIR)/libapps$(LIBEXT)"
+endif
ROOTDEPPATH = --dep-path .
diff --git a/apps/vsn/poweroff/Makefile b/apps/vsn/poweroff/Makefile
index d8badc91c..613681010 100644
--- a/apps/vsn/poweroff/Makefile
+++ b/apps/vsn/poweroff/Makefile
@@ -61,7 +61,11 @@ COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
-BIN = $(APPDIR)/libapps$(LIBEXT)
+ifeq ($(WINTOOL),y)
+ BIN = "${shell cygpath -w $(APPDIR)/libapps$(LIBEXT)}"
+else
+ BIN = "$(APPDIR)/libapps$(LIBEXT)"
+endif
ROOTDEPPATH = --dep-path .
diff --git a/apps/vsn/ramtron/Makefile b/apps/vsn/ramtron/Makefile
index f53d3503b..d91a6ca1b 100644
--- a/apps/vsn/ramtron/Makefile
+++ b/apps/vsn/ramtron/Makefile
@@ -61,7 +61,11 @@ COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
-BIN = $(APPDIR)/libapps$(LIBEXT)
+ifeq ($(WINTOOL),y)
+ BIN = "${shell cygpath -w $(APPDIR)/libapps$(LIBEXT)}"
+else
+ BIN = "$(APPDIR)/libapps$(LIBEXT)"
+endif
ROOTDEPPATH = --dep-path .
diff --git a/apps/vsn/sdcard/Makefile b/apps/vsn/sdcard/Makefile
index 5ecedccdf..d943b909d 100644
--- a/apps/vsn/sdcard/Makefile
+++ b/apps/vsn/sdcard/Makefile
@@ -61,7 +61,11 @@ COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
-BIN = $(APPDIR)/libapps$(LIBEXT)
+ifeq ($(WINTOOL),y)
+ BIN = "${shell cygpath -w $(APPDIR)/libapps$(LIBEXT)}"
+else
+ BIN = "$(APPDIR)/libapps$(LIBEXT)"
+endif
ROOTDEPPATH = --dep-path .