mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-04 16:13:03 +00:00
Update makefile for kernel-build issues
This commit is contained in:
parent
61751ad39f
commit
c6914f6a49
1 changed files with 13 additions and 0 deletions
|
|
@ -75,6 +75,12 @@ PROGNAME = $(CONFIG_XYZ_PROGNAME)
|
|||
|
||||
ROOTDEPPATH = --dep-path .
|
||||
|
||||
# NX built-in application info
|
||||
|
||||
APPNAME = nxterm
|
||||
PRIORITY = SCHED_PRIORITY_DEFAULT
|
||||
STACKSIZE = 2048
|
||||
|
||||
# Common build
|
||||
|
||||
VPATH =
|
||||
|
|
@ -105,7 +111,14 @@ install:
|
|||
|
||||
endif
|
||||
|
||||
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
|
||||
|
||||
.depend: Makefile $(SRCS)
|
||||
@$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue