summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2018-11-09 10:20:48 +0100
committerJean Delvare <jdelvare@suse.de>2018-11-09 10:20:48 +0100
commitba49ca4d7c69b85e15c20b314216ec4590c35500 (patch)
treea559858e38a21a67204e8ac3dcf77afb811eb37a /tools
parentfbd988b4fa3d008c5fd210a66834d1305de41f6c (diff)
downloadi2c-tools-git-ba49ca4d7c69b85e15c20b314216ec4590c35500.tar.gz
Make STRIP overridable
Allow the user select a different strip tool for the build (same as done with the CC and AR variables). Contributed by Per Olav Kroka. Signed-off-by: Jean Delvare <jdelvare@suse.de>
Diffstat (limited to 'tools')
-rw-r--r--tools/Module.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/Module.mk b/tools/Module.mk
index 609de7a..693102f 100644
--- a/tools/Module.mk
+++ b/tools/Module.mk
@@ -71,7 +71,7 @@ $(TOOLS_DIR)/util.o: $(TOOLS_DIR)/util.c $(TOOLS_DIR)/util.h
all-tools: $(addprefix $(TOOLS_DIR)/,$(TOOLS_TARGETS))
strip-tools: $(addprefix $(TOOLS_DIR)/,$(TOOLS_TARGETS))
- strip $(addprefix $(TOOLS_DIR)/,$(TOOLS_TARGETS))
+ $(STRIP) $(addprefix $(TOOLS_DIR)/,$(TOOLS_TARGETS))
clean-tools:
$(RM) $(addprefix $(TOOLS_DIR)/,*.o $(TOOLS_TARGETS))