summaryrefslogtreecommitdiff
path: root/apps/system/hex2bin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/system/hex2bin/Makefile')
-rw-r--r--apps/system/hex2bin/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/system/hex2bin/Makefile b/apps/system/hex2bin/Makefile
index 674434fd1..71b26d7d2 100644
--- a/apps/system/hex2bin/Makefile
+++ b/apps/system/hex2bin/Makefile
@@ -130,7 +130,7 @@ rhex2mem:
endif
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)