buildgcc: Add check for missing libraries and test for zlib
commit591790fca5f3e2ce0b1e4fa6099f59aaf9546c95
authorMartin Roth <martinroth@google.com>
Mon, 21 Mar 2016 02:39:04 +0000 (20 20:39 -0600)
committerMartin Roth <martinroth@google.com>
Fri, 25 Mar 2016 17:15:04 +0000 (25 18:15 +0100)
treec2933b98a0de2bf27f811802c10b253296f6b647
parent95f7b22dc4e0db2e27fab615c6e9c42bf7898ce4
buildgcc: Add check for missing libraries and test for zlib

- Add check_for_library routine to test for missing libraries.
- Add a check for zlib.
- Remove 'utility' text from please_install() routine since we can test
for libraries or utilities now.
- Remove incorrect 'solution' text from alternate install since I was
updating that line.

Change-Id: Id5ef28f8bde114cbf4e5a91fc119d42593ea6ab2
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/14147
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
util/crossgcc/buildgcc