[PATCH rtems-lwip v3 1/7] lwip.py: Change arch and bsp check method
Kinsey Moore
kinsey.moore at oarcorp.com
Thu Sep 8 16:52:15 UTC 2022
On 9/8/2022 11:34, Duc Doan wrote:
> ---
> lwip.py | 31 ++++++++++++++++++-------------
> 1 file changed, 18 insertions(+), 13 deletions(-)
>
> diff --git a/lwip.py b/lwip.py
> index 84eef2c..1f0b8e2 100644
> --- a/lwip.py
> +++ b/lwip.py
> @@ -99,6 +99,8 @@ def build(bld):
> drv_incl = []
> arch_lib_path = rtems.arch_bsp_lib_path(bld.env.RTEMS_VERSION,
> bld.env.RTEMS_ARCH_BSP)
...
> is_qemu = False
> - if bld.env.RTEMS_ARCH_BSP.startswith('aarch64-rtems6-xilinx_zynqmp'):
> + if arch == 'aarch64' and bsp in ['xilinx_zynqmp_ultra96']:
> is_xilinx_bsp = True
> is_aarch64_bsp = True
> - if bld.env.RTEMS_ARCH_BSP.endswith('_qemu'):
> + if bsp in ['xilinx_zynq_a9_qemu']:
> is_qemu = True
> if is_xilinx_bsp:
> drv_incl.extend(xilinx_drv_incl)
The BSPs mentioned here for AArch64 are actually ARM BSPs. The proper
set of BSPs to be used here are:
xilinx_zynqmp_lp64_qemu
xilinx_zynqmp_lp64_zu3eg
xilinx_zynqmp_ilp32_qemu
xilinx_zynqmp_ilp32_zu3eg
At some point, the lwIP build needs to get better about managing which BSPs it supports, but that's not a task for you here and now.
Kinsey
More information about the devel
mailing list