summaryrefslogtreecommitdiff
path: root/apps/system/poweroff/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/system/poweroff/Makefile')
-rw-r--r--apps/system/poweroff/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/system/poweroff/Makefile b/apps/system/poweroff/Makefile
index 278fb77fd..0a0340f18 100644
--- a/apps/system/poweroff/Makefile
+++ b/apps/system/poweroff/Makefile
@@ -107,7 +107,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)