How can I configure digi-u-boot.inc to get the u-boot source local from a tar file?

Hi

I use the digi u-boot source form the digi-embedded git u-boot repository.

The source is downloaded through the u-boot-dey_2017.03.bb recipe.

How can I use local source code (e.g. tar archive) instead the git access only for the u-boot.

I tried:
=> SRC_URI = “file://${HOME}/LocalUboot/” #e.g. u-boot.zip or u-boot.tar
instead of
=> SRC_URI = “git://github.com/digi-embedded/u-boot.git;protocol=https;nobranch=1”

It always ends with a meaningless error: “u-boot-dey-2017.03-r0 do_compile: Function failed”

Any advise?

Regards
Michael

Have you tried to put your tar with the same name into downloads folder of your project? The bitbake should see that it’s there and use it without downloading a new one.

Hi

Thank you i will try it.

Regards
Michael