diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-12-23 22:17:09 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-12-23 22:17:09 +0000 |
commit | 0cafa6176d2a38082056e3aa2193590a7eea808b (patch) | |
tree | adbf30bfdbb86648a4b292c16abd5c71a8548ba1 /apps/examples/ftpc/Makefile | |
parent | 11e331a9ca6df348e97e57948fed9d23b9bba2ef (diff) | |
download | px4-nuttx-0cafa6176d2a38082056e3aa2193590a7eea808b.tar.gz px4-nuttx-0cafa6176d2a38082056e3aa2193590a7eea808b.tar.bz2 px4-nuttx-0cafa6176d2a38082056e3aa2193590a7eea808b.zip |
Remove .context kludge from apps/ directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5455 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/ftpc/Makefile')
-rw-r--r-- | apps/examples/ftpc/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/examples/ftpc/Makefile b/apps/examples/ftpc/Makefile index 29960fb94..e09779abd 100644 --- a/apps/examples/ftpc/Makefile +++ b/apps/examples/ftpc/Makefile @@ -83,11 +83,14 @@ $(COBJS): %$(OBJEXT): %.c # Register application -.context: +ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) +$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(TOPDIR)$(DELIM).config Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) - @touch $@ -context: .context +context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat +else +context: +endif # Create dependencies @@ -102,7 +105,6 @@ clean: $(call CLEAN) distclean: clean - $(call DELFILE, .context) $(call DELFILE, Make.dep) $(call DELFILE, .depend) |