commit | ca9b08518110583a49ae81019906b52b71bda1c9 | [log] [tgz] |
---|---|---|
author | Darren Hart <dvhart@linux.intel.com> | Tue Nov 08 15:54:31 2011 -0800 |
committer | Darren Hart <dvhart@linux.intel.com> | Thu Nov 10 20:52:04 2011 -0800 |
tree | 5592f0cc421caa042bafdb96c89bb9dfc98e2b3f | |
parent | 7dc8f7c2874b256f2532b111daca6b382f292bf9 [diff] |
Find crt0 and the LD script automatically gnuefi doesn't install crt0 and the ld script to a gnuefi directory by default, but some distributions stick it there. Use find via a shell command to take the last matching file for each of CRT0 and LDSCRIPT. This avoids forcing the caller to duplicate the script generating the ARCH variable used throughout the Makefile. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Matt Fleming <matt.fleming@intel.com>