diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-06 10:05:01 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-06 10:05:01 -0600 |
commit | 66c3d66d846c1944bce9192f5898e01133d7f722 (patch) | |
tree | 3146a7cf1c541cd3d33610b96efd4eab5346f23d /apps/examples | |
parent | 9544c29043dbb090da9e526825bf1fd9110f656c (diff) | |
download | nuttx-66c3d66d846c1944bce9192f5898e01133d7f722.tar.gz nuttx-66c3d66d846c1944bce9192f5898e01133d7f722.tar.bz2 nuttx-66c3d66d846c1944bce9192f5898e01133d7f722.zip |
Only one install target per Makefile
Diffstat (limited to 'apps/examples')
43 files changed, 86 insertions, 172 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 |