[Skiboot] [PATCH v2] Makefile: Search for distro-provided cross-compiler

Thiago Jung Bauermann bauerman at linux.ibm.com
Wed Jan 29 04:45:13 AEDT 2020


Andrew Donnellan <ajd at linux.ibm.com> writes:

> On 25/1/20 10:01 am, Thiago Jung Bauermann wrote:
>> Search for different variations of cross-compiler prefixes that might be in
>> the PATH, in this order of preference:
>>
>> 1. powerpc64-linux-gcc
>> 2. powerpc64le-linux-gcc
>> 3. powerpc64-linux-gnu-gcc
>> 4. powerpc64le-linux-gnu-gcc
>>
>> The latter two are available as distro packages in at least Debian, Fedora
>> and Ubuntu.
>>
>> Tested with GNU Make 3.82 (CentOS 7) and GNU make 4.2.1 (Fedora 30).
>>
>> Signed-off-by: Thiago Jung Bauermann <bauerman at linux.ibm.com>
>
> Works fine on my Debian box.
>
> Reviewed-by: Andrew Donnellan <ajd at linux.ibm.com>
> Tested-by: Andrew Donnellan <ajd at linux.ibm.com>

Thanks for reviewing and testing!

-- 
Thiago Jung Bauermann
IBM Linux Technology Center


More information about the Skiboot mailing list