summaryrefslogtreecommitdiffstats
path: root/classes/fsl-kernel-localversion.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* classes: fsl-kernel-localversion: Fix config fragments applyOtavio Salvador2021-04-171-1/+1
| | | | | | | | | | | We have to ensure the task run do_kernel_metadata so the config fragments can be applied properly. Refs: #707. Fixes: #733. Fixes: 49299998 ("classes: fsl-kernel-localversion: Fix task dependency") Fixes: c7e23876 ("linux-imx.inc: inherit kernel-yocto class") Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* classes: fsl-kernel-localversion: Fix task dependencyOtavio Salvador2021-04-101-2/+4
| | | | | | | | | | | We need to do any change to the generated `.config` file after it is finished to be modified. In the case of `kernel-yocto` class being in use, we need to do it after `kernel_configme` task. Fixes: c7e23876 ("linux-imx.inc: inherit kernel-yocto class") Fixes: #707. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Change-Id: I7d32b47595dff269defdc5b3f98aa0b9d89b603a
* fsl-kernel-localversion.bbclass: add preconfigure after do_kernel_metadataMing Liu2020-11-101-1/+1
| | | | | | | | do_preconfigure task should run after do_kernel_metadata, or else there might be no ${WORKDIR}/defconfig present when KBUILD_DEFCONFIG is being set rather than defconfig added in SRC_URI. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* fsl-kernel-localversion.bbclass: Allow disabling SCMVERSIONJan Vermaete2018-04-261-1/+3
| | | | | | | | | Do not add the short git hash to the kernel name when SCMVERSION is not set. Change-Id: I15bf597eab3a811846f3bb28a95b0f8f8a393483 Signed-off-by: Jan Vermaete <jver@oip.be> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* fsl-kernel-localversion: Add preconfigure dependency on do_unpackMats Karrman2017-04-301-1/+1
| | | | | | | | | | | Even if 'externalsrc' is used, SRC_URI may specify a 'defconfig'. However as the use of 'externalsrc' will do away with the do_patch task, do_preconfigure is in risk of being run before the defconfig is copied to the build directory. This patch adds a second dependency on 'do_unpack' that makes sure this does not happen. Signed-off-by: Mats Karrman <mats.dev.list@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* fsl-kernel-localversion: Make sure build dir exist before create .configFabio Berton2016-08-121-0/+1
| | | | | | | | | | | | | | | Create directory ${B} before do_preconfigure task creates file ${B}/.config Fix error: ../fsl-community-bsp/build/tmp/work/imx6slevk-poky-linux-gnueabi/linux-fslc-imx/ 4.1-1.0.x+gitAUTOINC+0c0844f9fa-r0/temp/run.do_preconfigure.16220: line 109: ../fsl-community-bsp/build/tmp/work/imx6slevk-poky-linux-gnueabi/ linux-fslc-imx/4.1-1.0.x+gitAUTOINC+0c0844f9fa-r0/build/.config: No such file or directory Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* fsl-kernel-localversion: Configure kernel in a separate taskAdrian Dudau2016-06-271-1/+2
| | | | | | | | | | | As it is implemented right now this class overwrites the .config file making it impossible for any other layer to configure the kernel in a .bbappend to the kernel recipe. By doing it in a separate task before do_configure we ensure that recipe .bbappends can make further kernel configurations in do_configure_prepend. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Move meta-fsl-arm content to layer rootOtavio Salvador2015-07-161-0/+39
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>