imx8mp configuration fragments trying to enable TLV320ACI3101

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx8mp configuration fragments trying to enable TLV320ACI3101

460 次查看
MJD
Contributor II

Hi,

i am trying to add cfg 

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += "file://8250.cfg"

do_configure_append() {
for i in ../*.cfg; do
[ -f "$i" ] || break
bbdebug 2 "applying $i file contents to .config"
cat ../*.cfg >> ${B}/.config
done
}

 

and my .cfg has bellow

CONFIG_PAHOLE_VERSION=123
CONFIG_SND_SOC_TLV320AIC3X=y
CONFIG_SND_SOC_TLV320AIC3X_I2C=y
CONFIG_PAHOLE_HAS_SPLIT_BTF=y

error has below

ERROR: /home/lab3/YY/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_6.1.bb: Variable FILESEXTRAPATHS_prepend file: /home/lab3/YY/imx-yocto-bsp/sources/meta-daikoku/recipes-kernel/linux/linux-imx_6.1.bbappend line: 1 contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake.
ERROR: /home/lab3/YY/imx-yocto-bsp/sources/meta-freescale/recipes-kernel/linux/linux-imx_6.1.bb: Variable FILESEXTRAPATHS_prepend file: /home/lab3/YY/imx-yocto-bsp/sources/meta-daikoku/recipes-kernel/linux/linux-imx_6.1.bbappend line: 1 contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake.
ERROR: Parsing halted due to errors, see error messages above

 

lab3@daikokunw-Server:~/YY/imx-yocto-bsp/build/tmp/deploy/images/imx8mp-lpddr4-evk$ bitbake linux-imx
Loaded 5339 entries from dependency cache.
ERROR: /home/lab3/YY/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. Please convert this layer/metadata before attempting to use with a newer bitbake. | ETA: --:--:--
ERROR: /home/lab3/YY/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_6.1.bb: Variable do_configure_append contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake.
ERROR: Parsing halted due to errors, see error messages above

Summary: There were 3 ERROR messages, returning a non-zero exit code.

I have tried through bellow steps 

lab3@daikokunw-Server:~/YY/imx-yocto-bsp/sources/meta-daikoku/recipes-kernel/linux$ cat linux-imx_6.1.bbappend
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
}

lab3@daikokunw-Server:~/YY/imx-yocto-bsp/sources/meta-daikoku/recipes-kernel/linux$ vi linux-imx_6.1.bbappend
lab3@daikokunw-Server:~/YY/imx-yocto-bsp/sources/meta-daikoku/recipes-kernel/linux$ cat linux-imx_6.1.bbappend
SRC_URI += "file://8250.cfg"
do_configure_append() {
for i in ../*.cfg; do
[ -f "$i" ] || break
bbdebug 2 "applying $i file contents to .config"
cat ../*.cfg >> ${B}/.config
done
}

lab3@daikokunw-Server:~/YY/imx-yocto-bsp/sources/meta-daikoku/recipes-kernel/linux$ cat linux-imx_6.1.bbappend
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://8250.cfg"
lab3@daikokunw-Server:~/YY/imx

lab3@daikokunw-Server:~/YY/imx-yocto-bsp/sources/meta-daikoku/recipes-kernel/linux$ cat linux-imx_6.1.bbappend
FILESEXTRAPATHS_prepend := "${THISDIR}/$files:"
SRC_URI += "file://8250.cfg"
lab3@daikokunw-Server:~/YY/imx

lab3@daikokunw-Server:~/YY/imx-yocto-bsp/build/tmp/deploy/images/imx8mp-lpddr4-evk$ bitbake linux-imx

Loaded 5339 entries from dependency cache.
ERROR: /home/lab3/YY/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_6.1.bb: Variable FILESEXTRAPATHS_prepend file: /home/lab3/YY/imx-yocto-bsp/sources/meta-daikoku/recipes-kernel/linux/linux-imx_6.1.bbappend line: 1 contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake.
ERROR: /home/lab3/YY/imx-yocto-bsp/sources/meta-freescale/recipes-kernel/linux/linux-imx_6.1.bb: Variable FILESEXTRAPATHS_prepend file: /home/lab3/YY/imx-yocto-bsp/sources/meta-daikoku/recipes-kernel/linux/linux-imx_6.1.bbappend line: 1 contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake.
ERROR: Parsing halted due to errors, see error messages above

Summary: There were 3 ERROR messages, returning a non-zero exit code.
lab3@daikokunw-Server:~/YY/imx-yocto-bsp/build/tmp/deploy/images/imx8mp-lpddr4-evk$

0 项奖励
回复
0 回复数