summaryrefslogtreecommitdiff
path: root/apps/examples/ostest
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/ostest')
-rw-r--r--apps/examples/ostest/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/ostest/Makefile b/apps/examples/ostest/Makefile
index 52718bc6b..ab0348ac9 100644
--- a/apps/examples/ostest/Makefile
+++ b/apps/examples/ostest/Makefile
@@ -148,7 +148,7 @@ $(COBJS): %$(OBJEXT): %.c
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)