Several fixes for errors introduced by last check-ins
This commit is contained in:
parent
72cd42282c
commit
e34a96e3b9
@ -94,7 +94,7 @@ else
|
|||||||
install:
|
install:
|
||||||
|
|
||||||
endif
|
endif
|
||||||
`
|
|
||||||
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
|
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
|
||||||
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
|
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
|
||||||
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
|
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
|
||||||
|
@ -10,4 +10,13 @@ config EXAMPLES_HELLO
|
|||||||
Enable the \"Hello, World!\" example
|
Enable the \"Hello, World!\" example
|
||||||
|
|
||||||
if EXAMPLES_HELLO
|
if EXAMPLES_HELLO
|
||||||
|
|
||||||
|
config EXAMPLES_HELLO_PROGNAME
|
||||||
|
string "Program name"
|
||||||
|
default "hello"
|
||||||
|
depends on BUILD_KERNEL
|
||||||
|
---help---
|
||||||
|
This is the name of the program that will be use when the NSH ELF
|
||||||
|
program is installed.
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -83,10 +83,6 @@ $(COBJS): %$(OBJEXT): %.c
|
|||||||
$(call ARCHIVE, $(BIN), $(OBJS))
|
$(call ARCHIVE, $(BIN), $(OBJS))
|
||||||
@touch .built
|
@touch .built
|
||||||
|
|
||||||
#ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
|
|
||||||
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
|
|
||||||
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_BUILD_KERNEL),y)
|
ifeq ($(CONFIG_BUILD_KERNEL),y)
|
||||||
$(INSTALL_DIR)/$(PROGNAME): $(OBJS)
|
$(INSTALL_DIR)/$(PROGNAME): $(OBJS)
|
||||||
@echo "LD: $<"
|
@echo "LD: $<"
|
||||||
@ -99,8 +95,12 @@ install:
|
|||||||
|
|
||||||
endif
|
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
|
context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
|
||||||
else
|
#else
|
||||||
#context:
|
#context:
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -13,6 +13,14 @@ config EXAMPLES_NSH
|
|||||||
|
|
||||||
if EXAMPLES_NSH
|
if EXAMPLES_NSH
|
||||||
|
|
||||||
|
config EXAMPLES_NSH_PROGNAME
|
||||||
|
string "Program name"
|
||||||
|
default "nsh"
|
||||||
|
depends on BUILD_KERNEL
|
||||||
|
---help---
|
||||||
|
This is the name of the program that will be use when the NSH ELF
|
||||||
|
program is installed.
|
||||||
|
|
||||||
config EXAMPLES_NSH_CXXINITIALIZE
|
config EXAMPLES_NSH_CXXINITIALIZE
|
||||||
bool "C++ Initialization"
|
bool "C++ Initialization"
|
||||||
default n
|
default n
|
||||||
|
@ -58,6 +58,9 @@ else
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
CONFIG_NSH_PROGNAME ?= nsh$(EXEEXT)
|
||||||
|
PROGNAME = $(CONFIG_NSH_PROGNAME)
|
||||||
|
|
||||||
ROOTDEPPATH = --dep-path .
|
ROOTDEPPATH = --dep-path .
|
||||||
|
|
||||||
# Common build
|
# Common build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user