From b2a7bfbb51f5bf8b34ea593f3b5e76aecf9161ea Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 14 Mar 2011 23:24:42 +0000 Subject: apps/ make changes + SLIP MTU notes git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3381 42af7a65-404d-4744-a932-0658087f49c3 --- apps/Make.defs | 2 +- apps/hello/Makefile | 2 +- apps/poweroff/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'apps') 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 -- cgit v1.2.3