覆盖DEFAULTTUNE和其他机器配置参数 [英] override `DEFAULTTUNE` and other machine configuration parameters

查看:170
本文介绍了覆盖DEFAULTTUNE和其他机器配置参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个需要更改DEFEAULTTUNE的板.我在conf/local.conf中做到了这一点.据我所知,此位置实际上是为构建主机配置保留的,我认为这实际上不是最适合的位置.什么地方合适?更改bsp提供程序的机器配置似乎也不是最好的主意...

I have a board that requires to change the DEFEAULTTUNE. I did this in my conf/local.conf. As this place actually is reserved for build host configuration as far as I understand I think that this is actually not the best suited place. What would be the right place? Changing the machine configuration of the bsp provider does not seem to be the best idea either...

最诚挚的问候,并感谢您的提示

Best regards and thanks for any hint

推荐答案

正如我所解释的,DEFAULTTUNE是进入MACHINE配置文件的绝对经典之作(信用证转到

As I was explained DEFAULTTUNE is an absolute classic to go into the MACHINE configuration file (Credits go to LetThe2nd on yoctos' IRC).

因此,解决方案是在自己的层中为机器配置创建一个目录(如果还没有的话):

Thus, the solution is to create a directory (if you don't have it, yet) inside your own layer for machine configurations:

mkdir meta-mylayer/conf/machine

使用以下内容为您的机器创建配置(简称为mymachine.conf):

Create a configuration (let's call it mymachine.conf) for your machine with the following content:

include ${TOPDIR}/../sources/meta-sunxi/conf/machine/orange-pi-zero.conf

DEFAULTTUNE = "cortexa7t-neon"

您很可能必须采用BSP提供程序(meta-sunxi)以及计算机配置文件(orange-pi-zero.conf)和DEFAULTTUNE来满足您的要求.

you most likely have to adopt the BSP provider (meta-sunxi) as well as the machine configuration file (orange-pi-zero.conf) and the DEFAULTTUNE to whatever you require.

这篇关于覆盖DEFAULTTUNE和其他机器配置参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆