diff options
Diffstat (limited to 'apps')
64 files changed, 128 insertions, 260 deletions
diff --git a/apps/examples/adc/Makefile b/apps/examples/adc/Makefile index 777b4829f..b4a240bcf 100644 --- a/apps/examples/adc/Makefile +++ b/apps/examples/adc/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: +` ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/buttons/Makefile b/apps/examples/buttons/Makefile index d3d7b935d..72ef2eae0 100644 --- a/apps/examples/buttons/Makefile +++ b/apps/examples/buttons/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/can/Makefile b/apps/examples/can/Makefile index 5deadace1..6472efaee 100644 --- a/apps/examples/can/Makefile +++ b/apps/examples/can/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/cc3000/Makefile b/apps/examples/cc3000/Makefile index 2c06ae083..e4c45ffe0 100644 --- a/apps/examples/cc3000/Makefile +++ b/apps/examples/cc3000/Makefile @@ -87,17 +87,15 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) $(call REGISTER,$(APPNAME1),$(PRIORITY1),$(STACKSIZE1),$(APPNAME1)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/cpuhog/Makefile b/apps/examples/cpuhog/Makefile index d784e442c..751cc2fee 100644 --- a/apps/examples/cpuhog/Makefile +++ b/apps/examples/cpuhog/Makefile @@ -86,16 +86,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/cxxtest/Makefile b/apps/examples/cxxtest/Makefile index 966d6deb3..94d65b8c2 100644 --- a/apps/examples/cxxtest/Makefile +++ b/apps/examples/cxxtest/Makefile @@ -100,16 +100,14 @@ $(CXXOBJS): %$(OBJEXT): %.cxx $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/dhcpd/Makefile b/apps/examples/dhcpd/Makefile index 62edc51e5..1c6ce1c61 100644 --- a/apps/examples/dhcpd/Makefile +++ b/apps/examples/dhcpd/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/discover/Makefile b/apps/examples/discover/Makefile index 373ee0769..9e227dee1 100644 --- a/apps/examples/discover/Makefile +++ b/apps/examples/discover/Makefile @@ -84,16 +84,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/flash_test/Makefile b/apps/examples/flash_test/Makefile index ff5fdb910..5eb840bbc 100644 --- a/apps/examples/flash_test/Makefile +++ b/apps/examples/flash_test/Makefile @@ -86,18 +86,16 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + # Register application ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/ftpc/Makefile b/apps/examples/ftpc/Makefile index 7a7d0cd1c..250d20d2e 100644 --- a/apps/examples/ftpc/Makefile +++ b/apps/examples/ftpc/Makefile @@ -81,18 +81,16 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + # Register application ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/ftpd/Makefile b/apps/examples/ftpd/Makefile index 57f095bbf..981489010 100644 --- a/apps/examples/ftpd/Makefile +++ b/apps/examples/ftpd/Makefile @@ -78,6 +78,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)ftpd_start.bdat: $(DEPCONFIG) Makefile $(call REGISTER,ftpd_start,SCHED_PRIORITY_DEFAULT,2048,ftpd_main) @@ -85,12 +87,8 @@ $(BUILTIN_REGISTRY)$(DELIM)ftpd_start.bdat: $(DEPCONFIG) Makefile $(BUILTIN_REGISTRY)$(DELIM)ftpd_stop.bdat: $(DEPCONFIG) Makefile $(call REGISTER,ftpd_stop,SCHED_PRIORITY_DEFAULT,2048,ftpd_stop) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)ftpd_start.bdat $(BUILTIN_REGISTRY)$(DELIM)ftpd_stop.bdat else -install: - context: endif diff --git a/apps/examples/hello/Makefile b/apps/examples/hello/Makefile index 09f956eee..09891604b 100644 --- a/apps/examples/hello/Makefile +++ b/apps/examples/hello/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/helloxx/Makefile b/apps/examples/helloxx/Makefile index 1e350863e..f138cb2fb 100644 --- a/apps/examples/helloxx/Makefile +++ b/apps/examples/helloxx/Makefile @@ -100,16 +100,14 @@ $(CXXOBJS): %$(OBJEXT): %.cxx $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/i2schar/Makefile b/apps/examples/i2schar/Makefile index 27103238a..01ebafe9b 100644 --- a/apps/examples/i2schar/Makefile +++ b/apps/examples/i2schar/Makefile @@ -89,16 +89,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/igmp/Makefile b/apps/examples/igmp/Makefile index ad8cbfef2..7a1b67463 100644 --- a/apps/examples/igmp/Makefile +++ b/apps/examples/igmp/Makefile @@ -81,16 +81,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/json/Makefile b/apps/examples/json/Makefile index e53ba1c01..f4c37aeae 100644 --- a/apps/examples/json/Makefile +++ b/apps/examples/json/Makefile @@ -81,16 +81,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/keypadtest/Makefile b/apps/examples/keypadtest/Makefile index c630628bd..f11a1d98f 100644 --- a/apps/examples/keypadtest/Makefile +++ b/apps/examples/keypadtest/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/lcdrw/Makefile b/apps/examples/lcdrw/Makefile index 585ba2451..462af80a1 100644 --- a/apps/examples/lcdrw/Makefile +++ b/apps/examples/lcdrw/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/modbus/Makefile b/apps/examples/modbus/Makefile index 5a6697648..07c04c51e 100644 --- a/apps/examples/modbus/Makefile +++ b/apps/examples/modbus/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/netpkt/Makefile b/apps/examples/netpkt/Makefile index ba421332c..015151713 100644 --- a/apps/examples/netpkt/Makefile +++ b/apps/examples/netpkt/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/nettest/Makefile b/apps/examples/nettest/Makefile index a3f302c62..e4b0f3263 100644 --- a/apps/examples/nettest/Makefile +++ b/apps/examples/nettest/Makefile @@ -116,16 +116,14 @@ $(HOST_BIN): $(HOST_OBJS) $(call ARCHIVE, $(TARG_BIN), $(TARG_OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/nx/Makefile b/apps/examples/nx/Makefile index 9bdd115c3..2da9513b7 100644 --- a/apps/examples/nx/Makefile +++ b/apps/examples/nx/Makefile @@ -86,16 +86,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/nxhello/Makefile b/apps/examples/nxhello/Makefile index 1292706dd..3a051ff8d 100644 --- a/apps/examples/nxhello/Makefile +++ b/apps/examples/nxhello/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/nximage/Makefile b/apps/examples/nximage/Makefile index f7fa52de1..b5b958583 100644 --- a/apps/examples/nximage/Makefile +++ b/apps/examples/nximage/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/nxlines/Makefile b/apps/examples/nxlines/Makefile index 5bd195aed..5076e28ae 100644 --- a/apps/examples/nxlines/Makefile +++ b/apps/examples/nxlines/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/nxtext/Makefile b/apps/examples/nxtext/Makefile index 010a33bd5..983ce73bd 100644 --- a/apps/examples/nxtext/Makefile +++ b/apps/examples/nxtext/Makefile @@ -87,16 +87,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/ostest/Makefile b/apps/examples/ostest/Makefile index 44aeb160a..9191e019b 100644 --- a/apps/examples/ostest/Makefile +++ b/apps/examples/ostest/Makefile @@ -132,16 +132,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/pwm/Makefile b/apps/examples/pwm/Makefile index b26d3f0b4..e8daa9b16 100644 --- a/apps/examples/pwm/Makefile +++ b/apps/examples/pwm/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/qencoder/Makefile b/apps/examples/qencoder/Makefile index fb189c054..377fa896f 100644 --- a/apps/examples/qencoder/Makefile +++ b/apps/examples/qencoder/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/random/Makefile b/apps/examples/random/Makefile index f6f176006..cbcca8fe3 100644 --- a/apps/examples/random/Makefile +++ b/apps/examples/random/Makefile @@ -81,16 +81,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/relays/Makefile b/apps/examples/relays/Makefile index d7842d9ef..c0b0b2e28 100644 --- a/apps/examples/relays/Makefile +++ b/apps/examples/relays/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/serialblaster/Makefile b/apps/examples/serialblaster/Makefile index 0dd13071e..e3b36f84a 100644 --- a/apps/examples/serialblaster/Makefile +++ b/apps/examples/serialblaster/Makefile @@ -86,16 +86,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/serialrx/Makefile b/apps/examples/serialrx/Makefile index e93079462..04ba2129c 100644 --- a/apps/examples/serialrx/Makefile +++ b/apps/examples/serialrx/Makefile @@ -86,16 +86,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/slcd/Makefile b/apps/examples/slcd/Makefile index 823fb1d33..7753e578d 100644 --- a/apps/examples/slcd/Makefile +++ b/apps/examples/slcd/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/smart_test/Makefile b/apps/examples/smart_test/Makefile index dd1ac3e71..464492d2f 100644 --- a/apps/examples/smart_test/Makefile +++ b/apps/examples/smart_test/Makefile @@ -86,18 +86,16 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + # Register application ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/tcpecho/Makefile b/apps/examples/tcpecho/Makefile index 42e7ead21..bf640e0dc 100644 --- a/apps/examples/tcpecho/Makefile +++ b/apps/examples/tcpecho/Makefile @@ -84,16 +84,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/telnetd/Makefile b/apps/examples/telnetd/Makefile index e37b09c69..e2755d833 100644 --- a/apps/examples/telnetd/Makefile +++ b/apps/examples/telnetd/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/tiff/Makefile b/apps/examples/tiff/Makefile index 5fc100ff9..3a39fb778 100644 --- a/apps/examples/tiff/Makefile +++ b/apps/examples/tiff/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/touchscreen/Makefile b/apps/examples/touchscreen/Makefile index fa7715c99..f692ee7eb 100644 --- a/apps/examples/touchscreen/Makefile +++ b/apps/examples/touchscreen/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/usbterm/Makefile b/apps/examples/usbterm/Makefile index edb258685..bc989b6a7 100644 --- a/apps/examples/usbterm/Makefile +++ b/apps/examples/usbterm/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/watchdog/Makefile b/apps/examples/watchdog/Makefile index 2cb2400ed..0b4f632ff 100644 --- a/apps/examples/watchdog/Makefile +++ b/apps/examples/watchdog/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/wgetjson/Makefile b/apps/examples/wgetjson/Makefile index d8cdacccf..607148d17 100644 --- a/apps/examples/wgetjson/Makefile +++ b/apps/examples/wgetjson/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/examples/xmlrpc/Makefile b/apps/examples/xmlrpc/Makefile index 0d3ec7d1d..d02abeaa8 100644 --- a/apps/examples/xmlrpc/Makefile +++ b/apps/examples/xmlrpc/Makefile @@ -84,16 +84,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/graphics/screenshot/Makefile b/apps/graphics/screenshot/Makefile index fe52f924b..34322bcca 100644 --- a/apps/graphics/screenshot/Makefile +++ b/apps/graphics/screenshot/Makefile @@ -87,16 +87,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/system/cdcacm/Makefile b/apps/system/cdcacm/Makefile index 18ba2508e..727bc16e3 100644 --- a/apps/system/cdcacm/Makefile +++ b/apps/system/cdcacm/Makefile @@ -87,6 +87,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME1)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME1),$(PRIORITY1),$(STACKSIZE1),$(APPNAME1)_main) @@ -94,12 +96,8 @@ $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME1)_main.bdat: $(DEPCONFIG) Makefile $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME2)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME2),$(PRIORITY2),$(STACKSIZE2),$(APPNAME2)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME1)_main.bdat $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME2)_main.bdat else -install: - context: endif diff --git a/apps/system/composite/Makefile b/apps/system/composite/Makefile index 64f3d74ab..eb76546ca 100644 --- a/apps/system/composite/Makefile +++ b/apps/system/composite/Makefile @@ -87,6 +87,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME1)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME1),$(PRIORITY1),$(STACKSIZE1),$(APPNAME1)_main) @@ -94,12 +96,8 @@ $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME1)_main.bdat: $(DEPCONFIG) Makefile $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME2)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME2),$(PRIORITY2),$(STACKSIZE2),$(APPNAME2)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME1)_main.bdat $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME2)_main.bdat else -install: - context: endif diff --git a/apps/system/flash_eraseall/Makefile b/apps/system/flash_eraseall/Makefile index 04edb966b..93f686e81 100644 --- a/apps/system/flash_eraseall/Makefile +++ b/apps/system/flash_eraseall/Makefile @@ -91,18 +91,16 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + # Register application ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/system/free/Makefile b/apps/system/free/Makefile index 325b6abaa..56d1019eb 100644 --- a/apps/system/free/Makefile +++ b/apps/system/free/Makefile @@ -87,18 +87,16 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + # Register application ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/system/i2c/Makefile b/apps/system/i2c/Makefile index ef52e3153..6b70957e3 100644 --- a/apps/system/i2c/Makefile +++ b/apps/system/i2c/Makefile @@ -80,16 +80,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/system/install/Makefile b/apps/system/install/Makefile index 9c7fc8dbd..9ff931e22 100644 --- a/apps/system/install/Makefile +++ b/apps/system/install/Makefile @@ -91,18 +91,16 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + # Register application ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/system/mdio/Makefile b/apps/system/mdio/Makefile index 10220f350..e9cfb48d9 100644 --- a/apps/system/mdio/Makefile +++ b/apps/system/mdio/Makefile @@ -83,16 +83,14 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/system/nxplayer/Makefile b/apps/system/nxplayer/Makefile index 501600023..58a9e3d8a 100644 --- a/apps/system/nxplayer/Makefile +++ b/apps/system/nxplayer/Makefile @@ -93,6 +93,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + # Register application ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) @@ -100,17 +102,11 @@ ifeq ($(CONFIG_NXPLAYER_COMMAND_LINE),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif else -install: - context: endif diff --git a/apps/system/poweroff/Makefile b/apps/system/poweroff/Makefile index 5203db0be..1498c5751 100644 --- a/apps/system/poweroff/Makefile +++ b/apps/system/poweroff/Makefile @@ -91,18 +91,16 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + # Register application ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/system/prun/Makefile b/apps/system/prun/Makefile index 430b48d4d..1ee853d8e 100644 --- a/apps/system/prun/Makefile +++ b/apps/system/prun/Makefile @@ -97,22 +97,18 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) ifeq ($(CONFIG_SYSTEM_PEXEC),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif else -install: - context: endif diff --git a/apps/system/ramtest/Makefile b/apps/system/ramtest/Makefile index 9d8d6e8ab..997c8ea8f 100644 --- a/apps/system/ramtest/Makefile +++ b/apps/system/ramtest/Makefile @@ -84,18 +84,16 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + # Register application ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)ramtest.bdat: $(DEPCONFIG) Makefile $(call REGISTER,"ramtest",$(PRIORITY),$(STACKSIZE),ramtest_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)ramtest.bdat else -install: - context: endif diff --git a/apps/system/ramtron/Makefile b/apps/system/ramtron/Makefile index fea0d4939..c0f272066 100644 --- a/apps/system/ramtron/Makefile +++ b/apps/system/ramtron/Makefile @@ -91,18 +91,16 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + # Register application ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/system/sdcard/Makefile b/apps/system/sdcard/Makefile index acf8381d3..3492f0adb 100644 --- a/apps/system/sdcard/Makefile +++ b/apps/system/sdcard/Makefile @@ -91,18 +91,16 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + # Register application ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/system/stackmonitor/Makefile b/apps/system/stackmonitor/Makefile index f2b73365d..7f78a0f79 100644 --- a/apps/system/stackmonitor/Makefile +++ b/apps/system/stackmonitor/Makefile @@ -84,6 +84,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + # Register application ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) @@ -93,12 +95,8 @@ $(BUILTIN_REGISTRY)$(DELIM)stackmonitor_start.bdat: $(DEPCONFIG) Makefile $(BUILTIN_REGISTRY)$(DELIM)stackmonitor_stop.bdat: $(DEPCONFIG) Makefile $(call REGISTER,"stkmon_stop",$(PRIORITY),$(STACKSIZE),stackmonitor_stop) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)stackmonitor_start.bdat $(BUILTIN_REGISTRY)$(DELIM)stackmonitor_stop.bdat else -install: - context: endif diff --git a/apps/system/sudoku/Makefile b/apps/system/sudoku/Makefile index 664bb5c77..dad32b458 100644 --- a/apps/system/sudoku/Makefile +++ b/apps/system/sudoku/Makefile @@ -87,18 +87,16 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + # Register application ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)sudoku.bdat: $(DEPCONFIG) Makefile $(call REGISTER,"sudoku",$(PRIORITY),$(STACKSIZE),sudoku_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)sudoku.bdat else -install: - context: endif diff --git a/apps/system/sysinfo/Makefile b/apps/system/sysinfo/Makefile index 9c213ae28..21388f3bc 100644 --- a/apps/system/sysinfo/Makefile +++ b/apps/system/sysinfo/Makefile @@ -92,18 +92,16 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + # Register application ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/system/usbmonitor/Makefile b/apps/system/usbmonitor/Makefile index f712a1d91..7b1d3e7ea 100644 --- a/apps/system/usbmonitor/Makefile +++ b/apps/system/usbmonitor/Makefile @@ -84,6 +84,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + # Register application ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) @@ -93,12 +95,8 @@ $(BUILTIN_REGISTRY)$(DELIM)usbmonitor_start.bdat: $(DEPCONFIG) Makefile $(BUILTIN_REGISTRY)$(DELIM)usbmonitor_stop.bdat: $(DEPCONFIG) Makefile $(call REGISTER,"usbmon_stop",$(PRIORITY),$(STACKSIZE),usbmonitor_stop) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)usbmonitor_start.bdat $(BUILTIN_REGISTRY)$(DELIM)usbmonitor_stop.bdat else -install: - context: endif diff --git a/apps/system/usbmsc/Makefile b/apps/system/usbmsc/Makefile index 2f6073d70..b9ad17576 100644 --- a/apps/system/usbmsc/Makefile +++ b/apps/system/usbmsc/Makefile @@ -90,6 +90,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built +install: + ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME1)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME1),$(PRIORITY1),$(STACKSIZE1),$(APPNAME1)_main) @@ -97,12 +99,8 @@ $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME1)_main.bdat: $(DEPCONFIG) Makefile $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME2)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME2),$(PRIORITY2),$(STACKSIZE2),$(APPNAME2)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME1)_main.bdat $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME2)_main.bdat else -install: - context: endif diff --git a/apps/system/vi/Makefile b/apps/system/vi/Makefile index 8eba9d788..9a71fe0cf 100644 --- a/apps/system/vi/Makefile +++ b/apps/system/vi/Makefile @@ -88,18 +88,16 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + # Register application ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else -install: - context: endif diff --git a/apps/system/zmodem/Makefile b/apps/system/zmodem/Makefile index 602ad2541..ac87750ac 100644 --- a/apps/system/zmodem/Makefile +++ b/apps/system/zmodem/Makefile @@ -87,6 +87,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + # Register application ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) @@ -96,12 +98,8 @@ $(BUILTIN_REGISTRY)$(DELIM)sz.bdat: $(DEPCONFIG) Makefile $(BUILTIN_REGISTRY)$(DELIM)rz.bdat: $(DEPCONFIG) Makefile $(call REGISTER,"rz",$(PRIORITY),$(STACKSIZE),rz_main) -install: - context: $(BUILTIN_REGISTRY)$(DELIM)sz.bdat $(BUILTIN_REGISTRY)$(DELIM)rz.bdat else -install: - context: endif |