summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rwxr-xr-xapps/Make.defs2
-rw-r--r--apps/hello/Makefile2
-rw-r--r--apps/poweroff/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/Make.defs b/apps/Make.defs
index bc71c98a0..0a6e869dd 100755
--- a/apps/Make.defs
+++ b/apps/Make.defs
@@ -36,6 +36,6 @@
define REGISTER
@echo "Register: $1"
- @echo "{ .name = $1, .priority = $2, .stacksize = $3, .main = $4 }," >> ../exec_nuttapp_list.h
+ @echo "{ .name = \"$1\", .priority = $2, .stacksize = $3, .main = $4 }," >> ../exec_nuttapp_list.h
@echo "EXTERN int $4(int argc, char *argv[]);" >> ../exec_nuttapp_proto.h
endef
diff --git a/apps/hello/Makefile b/apps/hello/Makefile
index b1e13fc71..720d365af 100644
--- a/apps/hello/Makefile
+++ b/apps/hello/Makefile
@@ -87,7 +87,7 @@ $(BIN): $(OBJS)
.depend: Makefile $(SRCS)
@$(MKDEP) $(ROOTDEPPATH) \
$(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
- $(call REGISTER, $(APPNAME), $(PRIORITY), $(STACKSIZE), $(APPNAME)_main)
+ $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
@touch $@
# Register application
diff --git a/apps/poweroff/Makefile b/apps/poweroff/Makefile
index ceecadcd4..b8e5ecd93 100644
--- a/apps/poweroff/Makefile
+++ b/apps/poweroff/Makefile
@@ -87,7 +87,7 @@ $(BIN): $(OBJS)
.depend: Makefile $(SRCS)
@$(MKDEP) $(ROOTDEPPATH) \
$(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
- $(call REGISTER, $(APPNAME), $(PRIORITY), $(STACKSIZE), $(APPNAME)_main)
+ $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
@touch $@
# Register application