summaryrefslogtreecommitdiffstats
path: root/conf/machine/include/utilities.inc
Commit message (Collapse)AuthorAgeFilesLines
* layer: Convert to new override syntaxKhem Raj2021-08-121-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* imx-base.inc: Provide a default value for SPL_BINARYOtavio Salvador2021-04-141-0/+6
| | | | | | | | | This fixes the build case when machine does not use SPL and does not set it. We couldn't use dynamic expansion or we trigger a recursive expansion so we opted to use an utility function to do the proper logic. Fixes: f98059fe ("imx-base.inc: Allow use of SPL_BINARY variable inside wic images") Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* fix: handle if KERNEL_DEVICETREE isn't definedChristopher Boyd2020-05-191-0/+5
|
* utilities.inc: fix return None type errorJacopo Dall'Aglio2019-05-171-2/+3
| | | | | | | Function make_dtb_boot_files now always returns and raises an error if a KERNEL_DEVICETREE entry filename extension is not .dtb or .dtbo. Signed-off-by: Jacopo Dall'Aglio <jacopo.dallaglio@kynetics.com>
* utilities.inc: split by any number of whitespacesDiego Rondini2019-05-091-1/+1
| | | | | | | Split alldtbs by any number of whitespace instead of just one to fix machines with dtbs listed on multiple lines of KERNEL_DEVICETREE variable. Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
* utilities.inc: Use only the basename for dtb filesFabio Berton2018-07-201-0/+16
| | | | | | | | | Use make_dtb_boot_files function to use basename from KERNEL_DEVICETREE files. This is useful for dtb with name: whatever/my_dtb_file.dtb Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
* imx-base.inc: Use KERNEL_DEVICETREE variable in IMAGE_BOOT_FILESFabio Berton2018-07-111-28/+0
| | | | | | | | | | OE-Core commit 1860d9d3c62e2e94cd68a809385873ffd8270b6d removed KERNEL_IMAGETYPE prefix from device tree name, so we don't need to use utilities.inc and we can just use KERNEL_DEVICETREE variable in IMAGE_BOOT_FILES. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc: Generate a default IMAGE_BOOT_FILESOtavio Salvador2017-10-051-0/+28
When the machine requires a boot partition, it needs to define the IMAGE_BOOT_FILES to include the device tree files and Linux kernel image. This is essentially a generic solution so instead of defining it for all machines we are providing a default value for them. To implement that, we borrowed an utility function from Raspberry Pi BSP. It is copied as is at conf/machine/include/utilities.inc file. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>