mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-12 07:55:42 +00:00
Fix that way that NxWight UnitTests are reigistered as NSH builtin apps
This commit is contained in:
parent
90d063e9dc
commit
d69d3cd080
39 changed files with 194 additions and 133 deletions
1
UnitTests/CButtonArray/.gitignore
vendored
1
UnitTests/CButtonArray/.gitignore
vendored
|
|
@ -1,5 +1,4 @@
|
|||
/Make.dep
|
||||
/.context
|
||||
/.depend
|
||||
/.built
|
||||
/*.asm
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#################################################################################
|
||||
# NxWidgets/UnitTests/CButtonArray/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)
|
||||
endif
|
||||
$(Q) touch $@
|
||||
|
||||
context: .context
|
||||
context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
|
||||
else
|
||||
context:
|
||||
endif
|
||||
|
||||
# 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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue