lwip: Fix compilation issue with XilKernel/FreeRTOS BSP

There is an issue with HSM TCL in LWIP, which fails to parse the
BSP name properly and hence Xilkernel/FreeRTOS BSP doesn't compile
if LwIP library is added with SOCKET_API mode enabled. This patch
fixes this issue by correcting the LWIP tcl.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
This commit is contained in:
Srikanth Thokala 2014-06-27 17:08:57 +05:30 committed by Jagannadha Sutradharudu Teki
parent 9c2b0736a0
commit ad02d14e36
2 changed files with 3 additions and 1 deletions

View file

@ -400,7 +400,7 @@ proc generate_lwip_opts {libhandle} {
set thread_prio [get_property CONFIG.socket_mode_thread_prio $libhandle]
if {$api_mode == "SOCKET_API"} {
set sw_proc_handle [get_sw_processor]
set os_handle [get_cells [get_property HW_INSTANCE $sw_proc_handle]]
set os_handle [get_os]
set os_name [get_property NAME $os_handle]
if { [string compare -nocase "xilkernel" $os_name] == 0} {
puts $lwipopts_fd "\#define OS_IS_XILKERNEL"

View file

@ -1,6 +1,8 @@
Change Log for lwip
=================================
2014-13-06
* Fix for CR 802558 - LWIP library doesn't compile
with XilKernel/FreeRTOS BSP.
* Fix for CR 801076 - Few configurable options of
library are not propagated during compilation.
2014-06-06