summaryrefslogtreecommitdiff
path: root/apps/examples/usbterm
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-07 07:09:22 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-07 07:09:22 -0600
commit0349baa2efe65f7768f5cf58cf3f717fa33088d3 (patch)
tree0a8580ca2a8cbfacc9a7d058ac25309eb4138d72 /apps/examples/usbterm
parent5a874f322600b650145dcb55bdf51e66fbf4acef (diff)
downloadnuttx-0349baa2efe65f7768f5cf58cf3f717fa33088d3.tar.gz
nuttx-0349baa2efe65f7768f5cf58cf3f717fa33088d3.tar.bz2
nuttx-0349baa2efe65f7768f5cf58cf3f717fa33088d3.zip
Add the main object to the dependencies for the kernel build
Diffstat (limited to 'apps/examples/usbterm')
-rw-r--r--apps/examples/usbterm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/usbterm/Makefile b/apps/examples/usbterm/Makefile
index 1c68a4377..6536e9a9a 100644
--- a/apps/examples/usbterm/Makefile
+++ b/apps/examples/usbterm/Makefile
@@ -97,7 +97,7 @@ $(COBJS): %$(OBJEXT): %.c
@touch .built
ifeq ($(CONFIG_BUILD_KERNEL),y)
-$(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS)
+$(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ)
@echo "LD: $(PROGNAME)"
$(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(LDLIBS)