summaryrefslogtreecommitdiffstats
path: root/rules/binutils.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2008-11-07 13:04:13 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2008-11-07 13:04:13 +0000
commit4e8cb8b821ee8d48afc79620f7edd2b1f09e5ef6 (patch)
treebe147f67afb04636fe28bf11aedac4e4d85e9683 /rules/binutils.make
parentc8d488b477f3e0ec613c02d81e90b26ce4afdf56 (diff)
downloadptxdist-4e8cb8b821ee8d48afc79620f7edd2b1f09e5ef6.tar.gz
ptxdist-4e8cb8b821ee8d48afc79620f7edd2b1f09e5ef6.tar.xz
* binutils.make:
pipe "which" stderr into /dev/null git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9088 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/binutils.make')
-rw-r--r--rules/binutils.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/binutils.make b/rules/binutils.make
index b5dd01c0c..cbbba4894 100644
--- a/rules/binutils.make
+++ b/rules/binutils.make
@@ -17,7 +17,7 @@ PACKAGES-$(PTXCONF_BINUTILS) += binutils
#
# Paths and names
#
-ifeq ($(shell which $(CROSS_LD)),)
+ifeq ($(shell which $(CROSS_LD) 2>/dev/null),)
BINUTILS_VERSION := unknown
else
BINUTILS_VERSION := $(shell $(CROSS_LD) -v | sed -e 's/.* \(.*\)$$/\1/g')