Building yocto and legato using leaf

I have done the following steps:

wget https://downloads.sierrawireless.com/tools/leaf/leaf_latest.deb -O /tmp/leaf_latest.deb && sudo apt install /tmp/leaf_latest.deb
mkdir ~/Leaf; cd ~/Leaf
leaf init
leaf remote add external-stable https://downloads.sierrawireless.com/leaf/legato/stable.json
leaf search wp76
leaf setup -p swi-wp76_5.0.0
leaf profile -v
leaf getsrc swi-linux
leaf getsrc swi-legato

all sources ware fetched OK

then when building I get this errorL
I get this error
$ make
make: *** No targets specified and no makefile found. Stop.

please advice

how about download yocto source by using github?

Example on downloading WP76 yocto source from Github.docx (90.5 KB)

I managed now to fully build from source by downloading the Yocto source from GITHUB

Has anyone run into the problem that when ‘repo sync’ is run, that it errors out because its using the python 2.7 instead of python3? Both are installed in my linux desktop. Any help would be appreciated.

Yes, you need to use python3.

You can see the word document above.