diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-10-22 12:07:23 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-10-22 12:07:23 -0600 |
commit | 63e2df95787cf8e81fca16e2c0d27324d3753206 (patch) | |
tree | bc3c20c615ccde5ff3147d64f4cfdd47e8537404 /apps/examples/nxterm/Makefile | |
parent | fe7b49cb3a1cabc7be4ef0718f87974f81d76817 (diff) | |
download | px4-nuttx-63e2df95787cf8e81fca16e2c0d27324d3753206.tar.gz px4-nuttx-63e2df95787cf8e81fca16e2c0d27324d3753206.tar.bz2 px4-nuttx-63e2df95787cf8e81fca16e2c0d27324d3753206.zip |
Update makefile for kernel-build issues
Diffstat (limited to 'apps/examples/nxterm/Makefile')
-rw-r--r-- | apps/examples/nxterm/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/examples/nxterm/Makefile b/apps/examples/nxterm/Makefile index 9f30917e5..f8add33dc 100644 --- a/apps/examples/nxterm/Makefile +++ b/apps/examples/nxterm/Makefile @@ -75,6 +75,12 @@ PROGNAME = $(CONFIG_XYZ_PROGNAME) ROOTDEPPATH = --dep-path . +# NX built-in application info + +APPNAME = nxterm +PRIORITY = SCHED_PRIORITY_DEFAULT +STACKSIZE = 2048 + # Common build VPATH = @@ -105,7 +111,14 @@ install: endif +ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) +$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile + $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) + +context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat +else context: +endif .depend: Makefile $(SRCS) @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep |