[Buildroot] [PATCH] Makefile: Symlink lib32 to lib for MIPS64/n32

Markos Chandras markos.chandras at gmail.com
Tue Jul 2 18:19:59 UTC 2013


On 2 July 2013 19:12, Arnout Vandecappelle <arnout at mind.be> wrote:
>>
>>
>> n32 is a 64-bit ABI with 32-bit pointers (something like the new x32 for
>> x86).
>
>
>  Okay, so it's a 64-bit ABI that is called n32 by accident :-)
>
>  Since it's not clear if lib32 is needed for other architectures, and since
> we don't always do it for the 64-bit architectures, it's probably better to
> keep your original condition on $(BR2_MIPS_NABI32).

Ok :)

>>>> +       ln -sfn lib $(TARGET_DIR)/lib32; \
>>>> +               ln -sfn lib $(TARGET_DIR)/usr/lib32;
>>>
>>>
>
>  By the way, shouldn't the same be done in STAGING_DIR?

I am not sure. The only problem I found was with the interpreter path
during runtime.
I can't see why lib32->lib is needed for the STAGING_DIR. Everything
in buildroot seems to depend
on lib and usr/lib and uClibc also uses MULTILIB_DIR="lib". I wouldn't
touch the STAGING_DIR for
now until I hit a real problem.

--
Regards,
Markos Chandras


More information about the buildroot mailing list