From 66c3d66d846c1944bce9192f5898e01133d7f722 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 6 Sep 2014 10:05:01 -0600 Subject: Only one install target per Makefile --- apps/examples/tcpecho/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'apps/examples/tcpecho') 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 -- cgit v1.2.3