Makefile: fix readelf usage
authorAndreas Bießmann <andreas.devel@googlemail.com>
Tue, 2 Jul 2013 06:37:37 +0000 (08:37 +0200)
committerTom Rini <trini@ti.com>
Wed, 3 Jul 2013 13:35:48 +0000 (09:35 -0400)
commitc1273d7162bd4bf795f8637cac3532a490dd9024
tree9298284ddee8f65e4e9838c95ffc0097dbe7a3e6
parentd4125ebc8dae28e8ade858ba519bca7fbeb6ccae
Makefile: fix readelf usage

Some OS (like OS X) do not provide a generic readelf. We should enforce to use
the toochain provided readelf instead, to do so use $(CROSS_COMPILE)readelf.

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Acked-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Tested-by: Lubomir Popov <lpopov@mm-sol.com>
Makefile