Add the main object to the dependencies for the kernel build

This commit is contained in:
Gregory Nutt
2014-09-07 07:09:22 -06:00
parent b65500c289
commit 22720d5eb3
85 changed files with 85 additions and 85 deletions

View File

@@ -95,7 +95,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)