install hooks: use llvm-readelf

The install hooks use readelf, which is part of binutils. When the
package being built is binutils, this leads to errors like:

/etc/portage/hooks/install/ line 13:
x86_64-cros-linux-gnu-readelf: command not found

This change causes to use llvm-readelf instead, avoiding
the "command not found" error.

TEST=emerge -e --nodeps cross-x86_64-cros-linux-gnu/binutils; error is gone

Change-Id: Iaad278ecb427dcd329feae87ef3a680b7b1c5e39
Reviewed-by: Manoj Gupta <>
Reviewed-by: Mike Frysinger <>
Tested-by: Bob Haarman <>
Commit-Queue: Manoj Gupta <>
1 file changed