Build legato whith makefile

Hello.
I build legato framework
and run command

make wp750x

and get one error

->make
Makefile:131: build/localhost/.config.mk: Нет такого файла или каталога
Makefile:348: Unable to determine Legato version
Building Legato for target ‘localhost’
KSET build/localhost/.config - TARGET_LOCALHOST
python3: can’t open file ‘/home/stepan/legato_cm/legato_2/legato-af-master/3rdParty/Kconfiglib/setconfig.py’: [Errno 2] No such file or directory
make: *** [build/localhost/.config] Error 2
Makefile:394: recipe for target ‘build/localhost/.config’ failed

How to fix it?

It seems you only type “make”

Yes it`s my error.
it doesn’t solve my problem

->make wp750x
Makefile:131: build/wp750x/.config.mk: Нет такого файла или каталога
Building Legato for target ‘wp750x’
Makefile:348: Unable to determine Legato version
KSET build/wp750x/.config - TARGET_WP750X
python3: can’t open file ‘/home/stepan/legato_cm/legato_2/legato-af-master/3rdParty/Kconfiglib/setconfig.py’: [Errno 2] No such file or directory
make: *** [build/wp750x/.config] Error 2
Makefile:394: recipe for target ‘build/wp750x/.config’ failed

I can see this file.
Maybe you can try to download the legato source by LEAF:

I planned after running the command “make wp750x”
run legato framework configuration command “make menuconfig_wp750x”.
And follow the instructions

how do i configure legato frameworke using leaf ?

Is it ok to compile in “leaf shell”?

No.

I compiled the legato-af-master project using leaf .

(lsh:wp750x)
[stpn] j0 ~/legato_cm/legato_2/legato-af-master
->make menuconfig_wp750x
Building Legato for target ‘wp750x’
Makefile:131: build/wp750x/.config.mk: Нет такого файла или каталога
Makefile:348: Unable to determine Legato version
KSET build/wp750x/.config - TARGET_WP750X
python3: can’t open file ‘/home/stepan/legato_cm/legato_2/legato-af master/3rdParty/Kconfiglib/setconfig.py’: [Errno 2] No such file or directory
make: *** [build/wp750x/.config] Error 2
Makefile:394: recipe for target ‘build/wp750x/.config’ failed

how do i configure legato frameworke using leaf ?

you can use mine.
Kconfiglib.tar.gz (226.3 KB)

1 Like