DEBUG: Using cache in '/home/user/Desktop/yocto-nxp/fsl-community-bsp/build/cache/bb_unihashes.dat'
DEBUG: Processing core in collection list
DEBUG: Processing yocto in collection list
DEBUG: Processing openembedded-layer in collection list
DEBUG: Processing multimedia-layer in collection list
DEBUG: Processing meta-python in collection list
DEBUG: Processing freescale-layer in collection list
DEBUG: Processing freescale-3rdparty in collection list
DEBUG: Processing freescale-distro in collection list
DEBUG: Sanity-checking tuning 'cortexa9thf-neon' (default) features:
DEBUG: arm: Enable ARM instruction set
DEBUG: vfp: Enable Vector Floating Point (vfp) unit.
DEBUG: cortexa9: Enable Cortex-A9 specific processor optimizations
DEBUG: neon: Enable Neon SIMD accelerator unit.
DEBUG: thumb: Support Thumb instructions
DEBUG: callconvention-hard: Enable EABI hard float call convention, requires VFP.
经查阅self.data中包含了大量配置信息
那么self.data的值在哪里获得的呢?
self.databuilder = bb.cookerdata.CookerDataBuilder(self.configuration, False)
self.databuilder.parseBaseConfiguration()
self.data = self.databuilder.data
self.data_hash = self.databuilder.data_hash
self.extraconfigdata = {}
继续找,找到查找文件配置的地方:
def findConfigFile(configfile, data):
search = []
bbpath = data.getVar("BBPATH")
if bbpath:
for i in bbpath.split(":"):
search.append(os.path.join(i, "conf", configfile))
path = os.getcwd()
while path != "/":
search.append(os.path.join(path, "conf", configfile))
path, _ = os.path.split(path)
for i in search:
if os.path.exists(i):
return i
return None
配置文件好像在这里:
external - 如何指定 Yocto 使用哪个编译器工具链来构建图像?
例如,我如何使用以下方法编译我的图像:
最佳答案
在 local.conf 中,指定系统中工具链的路径。
EXTERNAL_TOOLCHAIN = “/home/manjunath/linaro/gcc-linaro-arm-linux-gnueabihf-4.7-2014.11-20121123_linux”