summaryrefslogtreecommitdiff
path: root/apps/hello/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-14 20:50:46 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-14 20:50:46 +0000
commit0e24b0de612ad596103e4e01d250f0be12278783 (patch)
tree6ddb2ebc5c6cc9b94cc88baa085901046a345861 /apps/hello/Makefile
parent9264b754565c550afad96d4ef5ad1a76e6e8c233 (diff)
downloadnuttx-0e24b0de612ad596103e4e01d250f0be12278783.tar.gz
nuttx-0e24b0de612ad596103e4e01d250f0be12278783.tar.bz2
nuttx-0e24b0de612ad596103e4e01d250f0be12278783.zip
Add apps/poweroff lpc17 hardware handshake
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3380 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/hello/Makefile')
-rw-r--r--apps/hello/Makefile4
1 files changed, 2 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