summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorAllen Martin <amartin@nvidia.com>2012-08-15 11:38:53 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-10-04 14:18:54 +0200
commit2051ff3450113f4eb6aad250a9a3fc8c4af149dc (patch)
treee8beec65e642a9f8faa0a7f6bc84a4334dd260e1 /config.mk
parentfcfa696b3a354ab1e16601683c61f671487aded7 (diff)
tools, config.mk: add binutils-version
Modeled after gcc-version, add function to get binutils version. Signed-off-by: Allen Martin <amartin@nvidia.com> Acked-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index c3822a25c25..51b47838cf5 100644
--- a/config.mk
+++ b/config.mk
@@ -128,6 +128,7 @@ endif
# cc-version
# Usage gcc-ver := $(call cc-version)
cc-version = $(shell $(SHELL) $(SRCTREE)/tools/gcc-version.sh $(CC))
+binutils-version = $(shell $(SHELL) $(SRCTREE)/tools/binutils-version.sh $(AS))
#
# Include the make variables (CC, etc...)