summaryrefslogtreecommitdiff
path: root/apps/system/hex2bin
diff options
context:
space:
mode:
Diffstat (limited to 'apps/system/hex2bin')
-rw-r--r--apps/system/hex2bin/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/system/hex2bin/Makefile b/apps/system/hex2bin/Makefile
index 61e0a69ee..0eeecb131 100644
--- a/apps/system/hex2bin/Makefile
+++ b/apps/system/hex2bin/Makefile
@@ -116,8 +116,17 @@ else
rhex2mem:
endif
+ifeq ($(CONFIG_BUILD_KERNEL),y)
+$(INSTALL_DIR)/$(PROGNAME): $(OBJS)
+ @echo "LD: $<"
+ $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $@ $(ARCHCRT0OBJ) $^ $(LDLIBS)
+
+install: $(INSTALL_DIR)/$(PROGNAME)
+
install:
+endif
+
context: rhex2bin rhex2mem
.depend: Makefile $(SRCS)