summaryrefslogtreecommitdiff
path: root/apps/examples/helloxx/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-10-03 21:10:11 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-10-03 21:10:11 +0000
commit0da537768a85ab863bd1a46425db167d6333e51c (patch)
tree9ad543d3e99f65e9ce51a8a56d02d559f46bdf7f /apps/examples/helloxx/Makefile
parent6be41fe54a04032f4516c5eb8a84bf5407cc55ee (diff)
downloadnuttx-0da537768a85ab863bd1a46425db167d6333e51c.tar.gz
nuttx-0da537768a85ab863bd1a46425db167d6333e51c.tar.bz2
nuttx-0da537768a85ab863bd1a46425db167d6333e51c.zip
Verify C++ support with CodeSourcery
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4016 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/helloxx/Makefile')
-rw-r--r--[-rwxr-xr-x]apps/examples/helloxx/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/apps/examples/helloxx/Makefile b/apps/examples/helloxx/Makefile
index eeeae9ef0..5bc17014b 100755..100644
--- a/apps/examples/helloxx/Makefile
+++ b/apps/examples/helloxx/Makefile
@@ -58,6 +58,12 @@ endif
ROOTDEPPATH = --dep-path .
+# helloxx built-in application info
+
+APPNAME = helloxx
+PRIORITY = SCHED_PRIORITY_DEFAULT
+STACKSIZE = 2048
+
# Common build
VPATH =
@@ -92,7 +98,13 @@ $(CXXOBJS): %$(OBJEXT): %.cxx
done ; )
@touch .built
-context:
+.context:
+ifeq ($(CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN),y)
+ $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
+ @touch $@
+endif
+
+context: .context
.depend: Makefile $(SRCS)
@$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep