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/CSliderVertical | |
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/CSliderVertical')
-rw-r--r-- | NxWidgets/UnitTests/CSliderVertical/.gitignore | 1 | ||||
-rw-r--r-- | NxWidgets/UnitTests/CSliderVertical/Makefile | 14 |
2 files changed, 9 insertions, 6 deletions
diff --git a/NxWidgets/UnitTests/CSliderVertical/.gitignore b/NxWidgets/UnitTests/CSliderVertical/.gitignore index 105259c49..b14460823 100644 --- a/NxWidgets/UnitTests/CSliderVertical/.gitignore +++ b/NxWidgets/UnitTests/CSliderVertical/.gitignore @@ -1,5 +1,4 @@ /Make.dep -/.context /.depend /.built /*.asm diff --git a/NxWidgets/UnitTests/CSliderVertical/Makefile b/NxWidgets/UnitTests/CSliderVertical/Makefile index 82f9c6fc6..a0b33a3ac 100644 --- a/NxWidgets/UnitTests/CSliderVertical/Makefile +++ b/NxWidgets/UnitTests/CSliderVertical/Makefile @@ -1,7 +1,7 @@ ################################################################################# # NxWidgets/UnitTests/CSliderVertical/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) |