scons: Replace find_first_prog() with the built in Detect().
authorGabe Black <gabe.black@gmail.com>
Thu, 26 Mar 2020 10:38:14 +0000 (03:38 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 27 Mar 2020 08:44:28 +0000 (08:44 +0000)
commit55ae5a886b0a2a9529742d0466856ef5c0dc34a1
tree62a1430ddc2f6cc1d3e968a161f3e62891f85895
parentb5a3c0de7e0f24686c6cef9deb5c7b58f44f6eb7
scons: Replace find_first_prog() with the built in Detect().

The built in environment method Detect() does the same thing, that is it
finds the first program available from a list of options.

Change-Id: I3763ae5cc9dd22ee322908c0a7a2c037dc91d5a5
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27126
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
SConstruct