[meta-xilinx] [PATCH 1/5] newlib_2.5.0: Add recipe for the newlib libc

Nathan Rossi nathan at nathanrossi.com
Thu May 25 21:45:07 PDT 2017


On 26 May 2017 at 10:31, Manjukumar Harthikote Matha
<manjukumar.harthikote-matha at xilinx.com> wrote:
>
>
> On 05/18/2017 09:02 AM, Nathan Rossi wrote:
>>
>> Add a recipe for newlib version 2.5.0 which provides a libc for embedded
>> targets. Specifically this is required for building programs using the
>> Xilinx standalone drivers/applications.
>>
>> Signed-off-by: Nathan Rossi <nathan at nathanrossi.com>
>> ---
>>   recipes-core/newlib/newlib.inc      | 57
>> +++++++++++++++++++++++++++++++++++++
>>   recipes-core/newlib/newlib_2.5.0.bb | 14 +++++++++
>>   2 files changed, 71 insertions(+)
>>   create mode 100644 recipes-core/newlib/newlib.inc
>>   create mode 100644 recipes-core/newlib/newlib_2.5.0.bb
>>
>> diff --git a/recipes-core/newlib/newlib.inc
>> b/recipes-core/newlib/newlib.inc
>> new file mode 100644
>> index 0000000000..c0ee378dcd
>> --- /dev/null
>> +++ b/recipes-core/newlib/newlib.inc
>> @@ -0,0 +1,57 @@
>> +SUMMARY = "Newlib is a C library intended for use on embedded systems"
>> +HOMEPAGE = "https://sourceware.org/newlib/"
>> +DESCRIPTION = "It is a conglomeration of several library parts, all under
>> free software licenses that make them easily usable on embedded products."
>> +SECTION = "libs"
>> +
>> +LICENSE = "GPLv2 & LGPLv3 & GPLv3 & LGPLv2"
>> +LIC_FILES_CHKSUM = " \
>> +               file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
>> +               file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
>> +               file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
>> +
>> file://COPYING.LIBGLOSS;md5=73f5c98779aea7dba4a6c94a74ab0ae2 \
>> +               file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
>> +               file://COPYING.NEWLIB;md5=bfdd6396bf3b02bd23ffbb9f7ddfbec6
>> \
>> +
>> file://newlib/libc/posix/COPYRIGHT;md5=103468ff1982be840fdf4ee9f8b51bbf \
>> +
>> file://newlib/libc/sys/linux/linuxthreads/LICENSE;md5=73640207fbc79b198c7ffd4ad4d97aa0
>> \
>> +               "
>> +
>> +SRC_URI = "ftp://sourceware.org/pub/newlib/newlib-${PV}.tar.gz"
>> +
>
> Why not add the md5sum and sha256sum here?

I did that to try and keep the .inc version generic. But since its
only likely that there will be one version of newlib/libgloss I don't
mind just pushing the checksums into the .inc, so if you would prefer
that I can change it.

Thanks,
Nathan



More information about the meta-xilinx mailing list