summaryrefslogtreecommitdiff
path: root/apps/hello
diff options
context:
space:
mode:
Diffstat (limited to 'apps/hello')
-rw-r--r--apps/hello/Makefile4
-rw-r--r--apps/hello/README.txt5
2 files changed, 7 insertions, 2 deletions
diff --git a/apps/hello/Makefile b/apps/hello/Makefile
index f4267cd4d..b1e13fc71 100644
--- a/apps/hello/Makefile
+++ b/apps/hello/Makefile
@@ -38,6 +38,7 @@
# sourcing the Make.defs!
-include $(TOPDIR)/Make.defs
+include ../Make.defs
ifeq ($(WINTOOL),y)
INCDIROPT = -w
@@ -86,9 +87,8 @@ $(BIN): $(OBJS)
.depend: Makefile $(SRCS)
@$(MKDEP) $(ROOTDEPPATH) \
$(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ $(call REGISTER, $(APPNAME), $(PRIORITY), $(STACKSIZE), $(APPNAME)_main)
@touch $@
- echo "{ .name = \""$(APPNAME)"\", .priority = "$(PRIORITY)", .stacksize = "$(STACKSIZE)", .main = "$(APPNAME)"_main }," >> ../exec_nuttapp_list.h
- echo "EXTERN int "$(APPNAME)"_main(int argc, char *argv[]);" >> ../exec_nuttapp_proto.h
# Register application
depend: .depend
diff --git a/apps/hello/README.txt b/apps/hello/README.txt
new file mode 100644
index 000000000..531c4d193
--- /dev/null
+++ b/apps/hello/README.txt
@@ -0,0 +1,5 @@
+
+This application provides Hello Builtin Application skeleton
+
+ Source: NuttX
+ Date: 13. March 2011