Make red_wp77xx fails

Building for WP7702 module failed.

mangoh@mangoh-vm:~/mangOH$ make red_wp77xx
echo “Not building LEGATO due to $LEGATO == 0”
Not building LEGATO due to $LEGATO == 0

NOTE: When using leaf, these TOOLCHAIN_X variables don’t need to be passed to mksys.

TOOLCHAIN_DIR=/opt/swi/y22-ext-wp77xx/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi
TOOLCHAIN_PREFIX=arm-poky-linux-gnueabi-
mksys -t wp77xx --object-dir=build/red_wp77xx --output-dir=build/update_files red.sdef
** Warning: Ignoring empty app specification
** Warning: Ignoring empty app specification
** Warning: Ignoring empty app specification
** ERROR:
/home/mangoh/legato_framework/legato/modules/WiFi/service/daemon/Component.cdef:15:4: error: Couldn’t find source file ‘/home/mangoh/legato_framework/legato/modules/WiFi/service/platformAdaptor//home/mangoh/legato_framework/legato/modules/WiFi/service/platformAdaptor/ti/pa_wifi.sh/pa_wifi_client_ti.c’
Makefile:109: recipe for target ‘red_wp77xx’ failed
make: *** [red_wp77xx] Error 1

Any help is appreciated.

Try the following:

/home/mangoh/legato_framework/legato/modules/WiFi/service/daemon/Component.cdef

In line 15, change to the followings:


// {LEGATO_WIFI_ROOT}/service/platformAdaptor/{LEGATO_WIFI_PA}/pa_wifi_client_ti.c
// {LEGATO_WIFI_ROOT}/service/platformAdaptor/{LEGATO_WIFI_PA}/pa_wifi_ap_ti.c

{LEGATO_WIFI_ROOT}/service/platformAdaptor/ti/pa_wifi_client_ti.c {LEGATO_WIFI_ROOT}/service/platformAdaptor/ti/pa_wifi_ap_ti.c