aboutsummaryrefslogtreecommitdiffstats
path: root/classes/fsl-u-boot-localversion.bbclass
AgeCommit message (Collapse)Author
2023-12-05fsl-u-boot-localversion.bbclass: fix SRCREV_machine and AUTOREV use casesJun Zhu
Use the same logic as fsl-kernel-localversion.bbclass: commit 16a356ef0d5d62090e84530e125ea6952994aaeb Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-11-28classes: make localversion classes deterministicDaniel Wagenknecht
The localversion string built into the kernel and u-boot should be deterministic. With OpenEmbedded it is common practice to apply patches to the sources. The commit id of HEAD will differ each time the patching step is rerun. With the previous implementation of the fsl-{kernel,u- boot}-localversion classes this produced non-deterministic commit ids to be used. This is undesireable, because the commit-id read from the version string during runtime is not present in the sources. It also caused problems when building out-of-tree kernel-modules if the kernel itself was taken from sstate cache but the kernel-module needed to be rebuild and retriggered the kernels do_patch task (see #961). Rework to produce a deterministic string that will use the commit id given as SRCREV and count the number of patches applied on top. With e.g. commit id 11aabbcc and 5 patches this will result in a version string +g11aabbcc+p5 Fixes: https://github.com/Freescale/meta-freescale/issues/961 Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
2021-08-12layer: Convert to new override syntaxKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-08-23fsl-u-boot-localversion.bbclass: Ensure git is run inside ${S}Otavio Salvador
The tasks does not run inside ${S} by default anymore so we must ensure to run Git inside it. Change-Id: I9bba889ed13cc386d23fa4efdac2af5b46e2d65b Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-16Move meta-fsl-arm content to layer rootOtavio Salvador
The meta-fsl-arm is going to be used as the base for this layer. It contains a clean history and allowing a more granullar set of changes. This commit is just a rename of all contents of meta-fsl-arm subdirectory to this layer's root, subsequent changes are based on top of that. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>