Make red_wp85 gives error

Makefile:102: ==== OCTAVE_ROOT not defined ====
Not building LEGATO due to $LEGATO == 0

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

mksys -t wp85 --cflags=-O2 --object-dir=build/red_wp85 --output-dir=build/update_files red.sdef
/home/sanketg/mangOH/shared.sdef:41:15: error: Unrecognized section name ‘componentSearch’.
Makefile:131: recipe for target ‘red_wp85’ failed
make: *** [red_wp85] Error 1

Here’s what I did:

Create a leaf profile for the WP85 based on release 16.1 and Legato 19.04.0
leaf setup -p swi-wp85_2.8.0 wp85_r16.1_19.04.0

Activate the leaf profile
leaf profile switch wp85_r16.1_19.04.0
leaf shell

make red_wp85

That builds for me. Also, FYI you should surround multi-line code or terminal output with triple backticks so that it’s formatted nicely.