aboutsummaryrefslogtreecommitdiff
path: root/apps/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-15 19:35:15 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-15 19:35:15 +0000
commit9129fb715b69c0d2ffec2f963f57346bf89bc355 (patch)
treeb682c24fbe73341c60b9a0929456c6b08cb3497a /apps/Makefile
parentafda7763683b2b6accbdf4b721b6a5b118d386ac (diff)
downloadpx4-firmware-9129fb715b69c0d2ffec2f963f57346bf89bc355.tar.gz
px4-firmware-9129fb715b69c0d2ffec2f963f57346bf89bc355.tar.bz2
px4-firmware-9129fb715b69c0d2ffec2f963f57346bf89bc355.zip
Fix a place that had a '\' but needed a '/'
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5359 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/Makefile')
-rw-r--r--apps/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 77f2012ef..c172135ec 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -102,9 +102,15 @@ endif
# Create the list of available applications (INSTALLED_APPS)
+ifeq ($(CONFIG_WINDOWS_NATIVE),y)
define ADD_BUILTIN
-INSTALLED_APPS += $(if $(wildcard $1\Makefile),$1,)
+ INSTALLED_APPS += $(if $(wildcard $1\Makefile),$1,)
endef
+else
+define ADD_BUILTIN
+ INSTALLED_APPS += $(if $(wildcard $1/Makefile),$1,)
+endef
+endif
$(foreach BUILTIN, $(CONFIGURED_APPS), $(eval $(call ADD_BUILTIN,$(BUILTIN))))