diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-11-27 06:44:01 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-11-27 06:44:01 -0600 |
commit | 8213c9c8e853e0419ca8c55acedb384baf23ee2a (patch) | |
tree | 4614345de8e6ba4c2202d2e11b8b6a8001f0a5a8 /apps | |
parent | fb1c117ce4f5e4f06c82979db7f6900c124e6caa (diff) | |
download | nuttx-8213c9c8e853e0419ca8c55acedb384baf23ee2a.tar.gz nuttx-8213c9c8e853e0419ca8c55acedb384baf23ee2a.tar.bz2 nuttx-8213c9c8e853e0419ca8c55acedb384baf23ee2a.zip |
fix romfs example builtin app registry issue. From Librae.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/examples/romfs/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/apps/examples/romfs/Makefile b/apps/examples/romfs/Makefile index 204fe1ed5..43af0f0ae 100644 --- a/apps/examples/romfs/Makefile +++ b/apps/examples/romfs/Makefile @@ -37,6 +37,12 @@ -include $(TOPDIR)/Make.defs include $(APPDIR)/Make.defs +# ROMFS built-in application info + +APPNAME = romfs +PRIORITY = SCHED_PRIORITY_DEFAULT +STACKSIZE = 2048 + # ROMFS File System Example ASRCS = @@ -121,13 +127,20 @@ install: endif +ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) +$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile + $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) + @echo "LIBRAE IS HERE!" $@ + +context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat +else context: +endif .depend: Makefile $(SRCS) @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep @touch $@ -# Register application depend: .depend clean: |