use colcon to build our meta-layer

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

use colcon to build our meta-layer

2,020 次查看
zk-panfei
Contributor I

Hello

we use colcon to build our middleware code,now we create a new layer for our code ,and want to build it by colcon in yocto 

I add 

do_compile () {

export colcon = "usr/local/bin/colcon"

${colcon} build

}  

in bb file,but build failed ,"could not find camke executable"

when I add  inherit cmake,will show does not appear to contain CMakeList.txt

Can anyone give some hints,thanks

 

0 项奖励
回复
3 回复数

2,006 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello zk-panfei,

Are you sure that this package is building and compiling with ARM? since there is no cmakelist.

 

Regards

 

0 项奖励
回复

2,001 次查看
zk-panfei
Contributor I

Hi Bio

Yes ,but our source code tree is like this :cmakelist in next level dir ,not root dir

├── tsync
│   ├── CMakeLists.txt
│   ├── example

└── zklog
     ├── CMakeLists.txt
     ├── doc

0 项奖励
回复

1,988 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

You have to fix it, since colcon is not part of the BSP and you are using it on your own meta-layer we are on hand tie.

 

Regards

0 项奖励
回复