summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2026-03-03 08:11:46 -0300
committerGitHub <noreply@github.com>2026-03-03 08:11:46 -0300
commit6f13cc05c84d074b84c1288eb7d098d57696256e (patch)
tree6f289762202f7d0c533bb9a8dd388adf73540ed6
parent806c3927ff0d319047cbad581df2bb59f7de3a43 (diff)
parent7c5e50fcdd6738dc467a3fc133b8b47d0d4c4811 (diff)
downloadmeta-freescale-6f13cc05c84d074b84c1288eb7d098d57696256e.tar.gz
Merge pull request #2462 from ernestvh/no-empty-ddrconfig
imx-oei: only pass a non-empty DDR_CONFIG to EXTRA_OEMAKE
-rw-r--r--dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc10
1 files changed, 9 insertions, 1 deletions
diff --git a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc
index a54105e57..d46080553 100644
--- a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc
+++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc
@@ -22,12 +22,20 @@ LDFLAGS[unexport] = "1"
22 22
23EXTRA_OEMAKE = "\ 23EXTRA_OEMAKE = "\
24 board=${OEI_BOARD} \ 24 board=${OEI_BOARD} \
25 DDR_CONFIG=${@bb.utils.contains('PACKAGECONFIG', 'ecc', '${OEI_DDRCONFIG_ECC}', '${OEI_DDRCONFIG}', d)} \
26 DEBUG=${OEI_DEBUG} \ 25 DEBUG=${OEI_DEBUG} \
27 OEI_CROSS_COMPILE=arm-none-eabi-" 26 OEI_CROSS_COMPILE=arm-none-eabi-"
28 27
29EXTRA_OEMAKE:append:mx95-generic-bsp = " r=${IMX_SOC_REV}" 28EXTRA_OEMAKE:append:mx95-generic-bsp = " r=${IMX_SOC_REV}"
30 29
30python () {
31 if 'ecc' in d.getVar('PACKAGECONFIG'):
32 ddr_conf = d.getVar('OEI_DDRCONFIG_ECC')
33 else:
34 ddr_conf = d.getVar('OEI_DDRCONFIG')
35 if ddr_conf:
36 d.appendVar('EXTRA_OEMAKE', ' DDR_CONFIG='+ddr_conf)
37}
38
31do_configure() { 39do_configure() {
32 for oei_config in ${OEI_CONFIGS}; do 40 for oei_config in ${OEI_CONFIGS}; do
33 oe_runmake clean oei=$oei_config 41 oe_runmake clean oei=$oei_config