kraj / meta-altera

Old Altera BSP layer for OpenEmbedded/Yocto Project ( please use https://github.com/altera-opensource/meta-intel-fpga-refdes)
MIT License
47 stars 58 forks source link

Resolving fatal error when building using newer poky versions #240

Open MUytd opened 1 year ago

MUytd commented 1 year ago

Problem: With newer versions of Poky when building the kernel it results in the error ERROR:/meta-altera/recipes-kernel/linux/linux-altera-lts_5.10.bb: AUTOREV/SRCPV set too late for the fetcher to work properly, please set the variables earlier in parsing. Erroring instead of later obtuse build failures. This error is introduced in this commit.

Solution
This PR removes the usage of the autorev, as in all cases the srcrev is set before sourcing the linux-altera.inc file. This allows the kernel to be build again without any errors from bitbake.