summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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