IMX8mp unable to include .cfg file into the Yocto build.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8mp unable to include .cfg file into the Yocto build.

1,000 Views
MJD
Contributor II

Hello,

Through menuconfg i have created fragment .cfg file, know i am trying to include into my build 

imx-yocto-bsp/sources/meta-daikoku/recipes-kernel/linux$ cat linux-imx_6.1.bbappend 
FILESEXTRAPATHS_append := "${THISDIR}/${PN}:"

SRC_URI += "file://8250.cfg"


i have tried with the above solution but i am facing error has "/imx-yocto-bsp/sources/meta-freescale/recipes-kernel/linux/linux-imx_6.1.bb: Variable do_configure_append contains an operation using the old override syntax"

SRC_URI += "file://8250.cfg"

do_configure_append() {
# This is run from
# ./tmp/work/imx8mp_lpddr4_evk-poky-linux/linux-imx/6.1.y+gitAUTOINC+770c5fe2c1-r0/git
cat ../*.cfg >> ${B}/.config
}

How to make reflect in the .config file ?

0 Kudos
Reply
3 Replies

972 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

As the first step I'd rename do_copy_defconfig_append() to do_copy_defconfig:append() to match the updated syntax, and give it another go.

 
Regards
0 Kudos
Reply

969 Views
MJD
Contributor II

Hi @Bio_TICFSL 
ThankYou for your response,

With the above information i didn't get any error message while building, Build got succeeded.
but those configurations are not reflected in my .config file 

/build/tmp/work/imx8mp_lpddr4_evk-poky-linux/linux-imx/6.1.y+gitAUTOINC+770c5fe2c1-r0/build$ vi .config /// its not reflected in this .config file 

i can see added in the bellow file
to-bsp/build/tmp/work/imx8mp_lpddr4_evk-poky-linux/linux-imx/6.1.y+gitAUTOINC+770c5fe2c1-r0/git/arch/arm64/configs$ vi defconfig 

i need those configurations enabled into build, i mean into build .config file.

 


 

0 Kudos
Reply

931 Views
MJD
Contributor II

reminder.
  

0 Kudos
Reply