[PATCH rtems-lwip v3] lwip.py: Build BSD compatibility as part of lwIP

Kinsey Moore kinsey.moore at oarcorp.com
Fri Aug 26 22:20:32 UTC 2022


On 8/26/2022 17:13, Chris Johns wrote:
> On 27/8/2022 7:25 am, Kinsey Moore wrote:
>> Include the BSD compatibility functions as part of lwIP to be provided
>> to consumers of this network stack and install the headers so they can
>> be compiled against.
>> ---
>>   lwip.py                                     | 9 +++++++--
>>   rtemslwip/bsd_compat/rtems-kernel-program.c | 5 +----
>>   2 files changed, 8 insertions(+), 6 deletions(-)
>>
>> diff --git a/lwip.py b/lwip.py
>> index 70c9471..7ae63ae 100644
>> --- a/lwip.py
>> +++ b/lwip.py
>> @@ -68,6 +68,8 @@ def build(bld):
>>       common_includes = './lwip/src/include ./uLan/ports/os/rtems ./rtemslwip/include '
>>       driver_source = []
>>       drv_incl = ' '
>> +    bsd_compat_sources = ["rtemslwip/bsd_compat/netdb.c", "rtemslwip/bsd_compat/ifaddrs.c", "rtemslwip/bsd_compat/rtems-kernel-program.c"]
>> +    bsd_compat_incl = './rtemslwip/bsd_compat_include '
> Line lengths. It would be good to have this code follow the coding procedures. I
> am fine with this change as is if there is to be a clean up of this module.
>
> Chris

This definitely needs a cleanup elsewhere, but I'll clean this up before 
commit.


Kinsey



More information about the devel mailing list