Hi @Kan_Li ,
Before starting this topic, i have already changed se05x_mw_v03.01.00 to actual version, but recipe still generated a bunch of errors.
Below are error messages that i received while trying to make this recipe work:
(in chronological order)
1) Parsing error

Fixed by changing do_install_append -> do_install:append
2) Parsing error

Fixed by removing "python" from DEPENDS (python3 remains)
3) do_configure error

Fixed by adding PTMW to listed cmake arguments
4) do_compile error

Fixed by removing all instances of -Wformat_security from original middleware archive
(this was suggested to someone with similar problem on nxp forum)
5) do_compile error

Here for some reason it tried to compile source code for windows machines (despite -DHost=iMXLinux in cmake call).
At this moment i decided that something is seriously wrong with this recipe and went to nxp forums, where i found mentions of newer se05x_04.01.03.bb file (see my original post).
First three errors occured because of deprecated syntax, and fourth because of latest version of gcc (something changed about -Wformat_security).
Are you sure that /simw-top/scripts/yocto/v03.01.00/se05x_3.1.0.bb is the newest version of yocto recipe?
Regards,
APridy