diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-05-30 16:49:20 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-05-30 16:49:20 -0600 |
commit | 83d8a80691ba5ae0b9288c8767342ef535ef4958 (patch) | |
tree | 87832152d48155024a9cec23d569f70a318437df /NxWidgets/UnitTests/CProgressBar/Makefile | |
parent | 622591fb019b38e7e3daeaee079e26d9ca27394f (diff) | |
download | nuttx-83d8a80691ba5ae0b9288c8767342ef535ef4958.tar.gz nuttx-83d8a80691ba5ae0b9288c8767342ef535ef4958.tar.bz2 nuttx-83d8a80691ba5ae0b9288c8767342ef535ef4958.zip |
Fix that way that NxWight UnitTests are reigistered as NSH builtin apps
Diffstat (limited to 'NxWidgets/UnitTests/CProgressBar/Makefile')
-rw-r--r-- | NxWidgets/UnitTests/CProgressBar/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/NxWidgets/UnitTests/CProgressBar/Makefile b/NxWidgets/UnitTests/CProgressBar/Makefile index c57b0cf6e..90e09db72 100644 --- a/NxWidgets/UnitTests/CProgressBar/Makefile +++ b/NxWidgets/UnitTests/CProgressBar/Makefile @@ -1,7 +1,7 @@ ################################################################################# # NxWidgets/UnitTests/CProgressBar/Makefile # -# Copyright (C) 2012 Gregory Nutt. All rights reserved. +# Copyright (C) 2012-2013 Gregory Nutt. All rights reserved. # Author: Gregory Nutt <gnutt@nuttx.org> # # Redistribution and use in source and binary forms, with or without @@ -142,15 +142,18 @@ else endif $(Q) touch .built -# Standard housekeeping targets +# Register NSH built-in application -.context: 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 - $(Q) touch $@ -context: .context +# Standard housekeeping targets .depend: Makefile $(SRCS) $(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep @@ -159,6 +162,7 @@ context: .context depend: .depend clean: + $(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat) $(call DELFILE, .built) $(call CLEAN) |