fix romfs example builtin app registry issue. From Librae.

This commit is contained in:
Gregory Nutt 2014-11-27 06:44:01 -06:00
parent c388ad3d76
commit 344a6aafeb

View File

@ -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: