summaryrefslogtreecommitdiffstats
path: root/apps/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-03-19 13:28:07 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-03-19 13:28:07 +0000
commit2ecb272fe18576ec9ceaffdfefb614b7b57b69e6 (patch)
tree69f944e9c0c24c32021aed5cbd1df41883811e05 /apps/Makefile
parentb2a21eb6ddac6180bb7af4d4b86fc62c077cfe0a (diff)
Use = instead of / for delimiter in appconfig files
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3396 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'apps/Makefile')
-rw-r--r--apps/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 11d06217b2..b9a067c26a 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -62,15 +62,15 @@ CONFIGURED_APPS =
AVAILABLE_APPS =
define ADD_AVAILABLE
-AVAILABLE_APPS += ${shell DIR=`echo $1 | cut -d'/' -f1`; if [ -r $$DIR/Makefile ]; then echo "$1"; fi}
+AVAILABLE_APPS += ${shell DIR=`echo $1 | cut -d'=' -f1`; if [ -r $$DIR/Makefile ]; then echo "$1"; fi}
endef
define BUILTIN_ADD_APP
-BUILTIN_APPS_DIR += ${shell echo $1 | cut -d'/' -f1}
+BUILTIN_APPS_DIR += ${shell echo $1 | cut -d'=' -f1}
endef
define BUILTIN_ADD_BUILT
-BUILTIN_APPS_BUILT += $1
+BUILTIN_APPS_BUILT += ${shell echo $1 | sed -e "s:=:/:g"}
endef
# (1) Create the list of available applications (AVAILABLE_APPS), (2) Add each
@@ -135,7 +135,7 @@ clean:
$(call CLEAN)
distclean: clean
- @rm -r .config
+ @rm -f .config
@rm -f Make.dep .depend
@rm -f exec_nuttapp_list.h
@rm -f exec_nuttapp_proto.h