summaryrefslogtreecommitdiff
path: root/apps/system/usbmonitor/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-29 13:30:10 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-29 13:30:10 +0000
commitc54de384c21ce75736f48d6986117d6a560c0dcf (patch)
treedae0ab1a333a6c5a5beec4ae170141804fb57c22 /apps/system/usbmonitor/Makefile
parentae5e2d8004affd8a0519de97a3c1ad700fa2b720 (diff)
downloadnuttx-c54de384c21ce75736f48d6986117d6a560c0dcf.tar.gz
nuttx-c54de384c21ce75736f48d6986117d6a560c0dcf.tar.bz2
nuttx-c54de384c21ce75736f48d6986117d6a560c0dcf.zip
USB monitor daemon updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5579 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/system/usbmonitor/Makefile')
-rw-r--r--apps/system/usbmonitor/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/apps/system/usbmonitor/Makefile b/apps/system/usbmonitor/Makefile
index b4c323eb7..56b6ccee1 100644
--- a/apps/system/usbmonitor/Makefile
+++ b/apps/system/usbmonitor/Makefile
@@ -41,8 +41,7 @@ ifeq ($(WINTOOL),y)
INCDIROPT = -w
endif
-# Hello Application
-# TODO: appname can be automatically extracted from the directory name
+# USB Monitor Application
PRIORITY = SCHED_PRIORITY_DEFAULT
STACKSIZE = 768
@@ -88,11 +87,13 @@ $(COBJS): %$(OBJEXT): %.c
# Register application
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
-$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
+$(BUILTIN_REGISTRY)$(DELIM)usbmonitor_start.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,"usbmon_start",$(PRIORITY),$(STACKSIZE),usbmonitor_start)
- $(call REGISTER,"usbmon_stop",$(PRIORITY),$(STACKSIZE),usbmonintor_stop)
-context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
+$(BUILTIN_REGISTRY)$(DELIM)usbmonitor_stop.bdat: $(DEPCONFIG) Makefile
+ $(call REGISTER,"usbmon_stop",$(PRIORITY),$(STACKSIZE),usbmonitor_stop)
+
+context: $(BUILTIN_REGISTRY)$(DELIM)usbmonitor_start.bdat $(BUILTIN_REGISTRY)$(DELIM)usbmonitor_stop.bdat
else
context:
endif