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/CGlyphButton | |
parent | 622591fb019b38e7e3daeaee079e26d9ca27394f (diff) | |
download | px4-nuttx-83d8a80691ba5ae0b9288c8767342ef535ef4958.tar.gz px4-nuttx-83d8a80691ba5ae0b9288c8767342ef535ef4958.tar.bz2 px4-nuttx-83d8a80691ba5ae0b9288c8767342ef535ef4958.zip |
Fix that way that NxWight UnitTests are reigistered as NSH builtin apps
Diffstat (limited to 'NxWidgets/UnitTests/CGlyphButton')
-rw-r--r-- | NxWidgets/UnitTests/CGlyphButton/.gitignore | 1 | ||||
-rw-r--r-- | NxWidgets/UnitTests/CGlyphButton/Makefile | 14 |
2 files changed, 9 insertions, 6 deletions
diff --git a/NxWidgets/UnitTests/CGlyphButton/.gitignore b/NxWidgets/UnitTests/CGlyphButton/.gitignore index 105259c49..b14460823 100644 --- a/NxWidgets/UnitTests/CGlyphButton/.gitignore +++ b/NxWidgets/UnitTests/CGlyphButton/.gitignore @@ -1,5 +1,4 @@ /Make.dep -/.context /.depend /.built /*.asm diff --git a/NxWidgets/UnitTests/CGlyphButton/Makefile b/NxWidgets/UnitTests/CGlyphButton/Makefile index b69382133..f0ebfa8b6 100644 --- a/NxWidgets/UnitTests/CGlyphButton/Makefile +++ b/NxWidgets/UnitTests/CGlyphButton/Makefile @@ -1,7 +1,7 @@ ################################################################################# # NxWidgets/UnitTests/CGlyphButton/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) |