summaryrefslogtreecommitdiff
path: root/apps/examples/helloxx
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/helloxx')
-rw-r--r--apps/examples/helloxx/Makefile4
-rw-r--r--apps/examples/helloxx/main.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/examples/helloxx/Makefile b/apps/examples/helloxx/Makefile
index 5bc17014b..c34378d24 100644
--- a/apps/examples/helloxx/Makefile
+++ b/apps/examples/helloxx/Makefile
@@ -76,7 +76,7 @@ ifneq ($(CONFIG_HAVE_CXX),y)
@echo ""
@echo "In order to use this example, you toolchain must support must"
@echo ""
- @echo " (1) Explicitly seelct CONFIG_HAVE_CXX to build in C++ support"
+ @echo " (1) Explicitly select CONFIG_HAVE_CXX to build in C++ support"
@echo " (2) Define CXX, CXXFLAGS, and COMPILEXX in the Make.defs file"
@echo " of the configuration that you are using."
@echo ""
@@ -99,7 +99,7 @@ $(CXXOBJS): %$(OBJEXT): %.cxx
@touch .built
.context:
-ifeq ($(CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN),y)
+ifeq ($(CONFIG_EXAMPLES_HELLOXX_BUILTIN),y)
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
@touch $@
endif
diff --git a/apps/examples/helloxx/main.cxx b/apps/examples/helloxx/main.cxx
index 66f9c827b..ed48f4961 100644
--- a/apps/examples/helloxx/main.cxx
+++ b/apps/examples/helloxx/main.cxx
@@ -114,7 +114,7 @@ int MAIN_NAME(int argc, char *argv[])
pHelloWorld->HelloWorld();
#ifndef CONFIG_EXAMPLES_HELLOXX_NOSTACKCONST
- printf(MAIN_STRING "Saying hello from the instance constructed of the stack\n");
+ printf(MAIN_STRING "Saying hello from the instance constructed on the stack\n");
HelloWorld.HelloWorld();
#endif