summaryrefslogtreecommitdiff
path: root/apps/system/composite/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/system/composite/Makefile')
-rw-r--r--apps/system/composite/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/system/composite/Makefile b/apps/system/composite/Makefile
index eb76546ca..837e159bd 100644
--- a/apps/system/composite/Makefile
+++ b/apps/system/composite/Makefile
@@ -87,8 +87,17 @@ $(COBJS): %$(OBJEXT): %.c
$(call ARCHIVE, $(BIN), $(OBJS))
@touch .built
+ifeq ($(CONFIG_BUILD_KERNEL),y)
+$(INSTALL_DIR)/$(PROGNAME): $(OBJS)
+ @echo "LD: $<"
+ $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $@ $(ARCHCRT0OBJ) $^ $(LDLIBS)
+
+install: $(INSTALL_DIR)/$(PROGNAME)
+
install:
+endif
+
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME1)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME1),$(PRIORITY1),$(STACKSIZE1),$(APPNAME1)_main)