summaryrefslogtreecommitdiff
path: root/apps/netutils
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-07 07:12:55 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-07 07:12:55 -0600
commit0c14d130807e506918b2f8d6279113a086638236 (patch)
tree3d415c5f291f151d8d9ec26c0c75e5a042487093 /apps/netutils
parent0349baa2efe65f7768f5cf58cf3f717fa33088d3 (diff)
downloadnuttx-0c14d130807e506918b2f8d6279113a086638236.tar.gz
nuttx-0c14d130807e506918b2f8d6279113a086638236.tar.bz2
nuttx-0c14d130807e506918b2f8d6279113a086638236.zip
Add the main object to the list objects to link in every kernel build link command
Diffstat (limited to 'apps/netutils')
-rw-r--r--apps/netutils/thttpd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/netutils/thttpd/Makefile b/apps/netutils/thttpd/Makefile
index afceea3e8..1cfcfba7e 100644
--- a/apps/netutils/thttpd/Makefile
+++ b/apps/netutils/thttpd/Makefile
@@ -129,7 +129,7 @@ endif
ifeq ($(CONFIG_BUILD_KERNEL),y)
$(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ)
@echo "LD: $(PROGNAME)"
- $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(LDLIBS)
+ $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(MAINOBJ) $(LDLIBS)
install: $(BIN_DIR)$(DELIM)$(PROGNAME)