[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] Add support for musl-libc to ostable and triplettable



On Sun, Apr 14, 2013 at 5:52 PM, Guillem Jover <guillem@debian.org> wrote:
> Hi Kevin!
>
> On Sun, 2013-04-14 at 16:29:22 +0200, Kevin Bortis wrote:
>> This patch adds support for a musl libc port to ostable and
>> triplettable. It would be nice if you could add this patch.
>
> Just for reference this seems to be <http://www.musl-libc.org/>.

Correct.

>
> (The patch seems to be mangled, missing hardtabs for example.)
>
>> ---
>>  ostable      |    1 +
>>  triplettable |    2 ++
>>  2 files changed, 3 insertions(+)
>>
>> diff --git a/ostable b/ostable
>> index ddc4b04..83eef37 100644
>> --- a/ostable
>> +++ b/ostable
>> @@ -32,3 +32,4 @@ sysv-solaris solaris solaris[^-]*
>>  uclibceabi-uclinux uclinux-uclibceabi uclinux[^-]*-uclibceabi
>>  uclibc-uclinux uclinux-uclibc uclinux[^-]*(-uclibc.*)?
>>  tos-mint mint mint[^-]*
>> +musleabihf-linux linux-musleabihf linux[^-]*-musleabihf
>> diff --git a/triplettable b/triplettable
>> index 11f8a54..f6f8222 100644
>> --- a/triplettable
>> +++ b/triplettable
>> @@ -23,3 +23,5 @@ sysv-solaris-<cpu> solaris-<cpu>
>>  uclibceabi-uclinux-arm uclinux-armel
>>  uclibc-uclinux-<cpu> uclinux-<cpu>
>>  tos-mint-m68k mint-m68k
>> +musleabihf-linux-arm musl-armhf
>> +
>
> I've queued locally the attached patch, which names the architectures
> as musl-linux-<cpu>, so that they do not get confused as a different
> kernel (the current <kernel>-<cpu> form, when <kernel> is not linux).
> I've also added the general form for non-armhf as I see there's other
> architectures supported by the library. Let me know if this looks ok.
>

Looks awesome. Thanks for your help.

> Thanks,
> Guillem


Reply to: