Use = instead of / for delimiter in appconfig files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3396 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
a05c1d4bc2
commit
4af4ff9733
8
Makefile
8
Makefile
@ -62,15 +62,15 @@ CONFIGURED_APPS =
|
|||||||
AVAILABLE_APPS =
|
AVAILABLE_APPS =
|
||||||
|
|
||||||
define ADD_AVAILABLE
|
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
|
endef
|
||||||
|
|
||||||
define BUILTIN_ADD_APP
|
define BUILTIN_ADD_APP
|
||||||
BUILTIN_APPS_DIR += ${shell echo $1 | cut -d'/' -f1}
|
BUILTIN_APPS_DIR += ${shell echo $1 | cut -d'=' -f1}
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define BUILTIN_ADD_BUILT
|
define BUILTIN_ADD_BUILT
|
||||||
BUILTIN_APPS_BUILT += $1
|
BUILTIN_APPS_BUILT += ${shell echo $1 | sed -e "s:=:/:g"}
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# (1) Create the list of available applications (AVAILABLE_APPS), (2) Add each
|
# (1) Create the list of available applications (AVAILABLE_APPS), (2) Add each
|
||||||
@ -135,7 +135,7 @@ clean:
|
|||||||
$(call CLEAN)
|
$(call CLEAN)
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
@rm -r .config
|
@rm -f .config
|
||||||
@rm -f Make.dep .depend
|
@rm -f Make.dep .depend
|
||||||
@rm -f exec_nuttapp_list.h
|
@rm -f exec_nuttapp_list.h
|
||||||
@rm -f exec_nuttapp_proto.h
|
@rm -f exec_nuttapp_proto.h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user