summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-04-14 09:15:59 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-04-23 09:30:01 +0200
commitc94658aefc17a94c610087adffe68c53114e00b2 (patch)
tree9a404a954ba4bb107b5f351a241bcdc15234a7d7
parentcc3fe524c2daa8c136e6484540130da7252a8f1b (diff)
build: Rename LD command variable to LDQ
In order to be able to set the (sort of) standard command variables CC, LD etc. from configure via Config, rename the silent LD command variable to LDQ, in accordance with the existing CCQ. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--Cmds2
-rw-r--r--Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/Cmds b/Cmds
index 1c9fc72..aa8c0a2 100644
--- a/Cmds
+++ b/Cmds
@@ -6,7 +6,7 @@ SHELL := $(shell if [ -x /bin/bash ]; then echo /bin/bash; else echo /bin/sh; fi
# Compiler related stuff
CC = gcc
-LD = $(Q)echo -e " LD\t$@" && $(CCACHE) $(CROSS_COMPILE)$(CC)
+LDQ = $(Q)echo -e " LD\t$@" && $(CCACHE) $(CROSS_COMPILE)$(CC)
CCNQ = $(CCACHE) $(CROSS_COMPILE)$(CC)
CCQ = $(Q)echo -e " CC\t$<" && $(CCNQ)
ifeq ($(DEBUG), 1)
diff --git a/Makefile b/Makefile
index 082737c..cf6c9bc 100644
--- a/Makefile
+++ b/Makefile
@@ -177,5 +177,5 @@ $(foreach tool,$(TOOLS),$(eval $(call TOOL_templ,$(tool))))
%:: ;
$(TOOLS):
- $(LD) $(LDFLAGS) -o $@/$@ $@/*.o $($@-libs)
+ $(LDQ) $(LDFLAGS) -o $@/$@ $@/*.o $($@-libs)
$(STRIP) $@/$@