[yocto] devtool modify both target and native recipe

2019-09-17 Thread Josias Inacio da Silva Filho
I have a recipe that supports building both native and target, however I noticed only one can be modified at a time. If I try doing: $ devtool modify myrecipe path_x $ devtool modify myrecipe-native path_x It complains saying I can only modify one variant at a time. The way to get around this i

[yocto] Are environment variables specified in BB_ENV_EXTRAWHITE passed down to scripts called by recipies?

2018-02-25 Thread Josias Inacio da Silva Filho
Hi folks, I haven’t found much documentation on this behaviour. Note that this is for Yocto release 2.4 Rocko. Let’s say I have a .bb recipe with the following task: do_something() { cd ${S} ./my_script.sh } And that “my_script.sh” is doing a git clone. I have noticed that the clone is

[yocto] How to build an SDK toolchain for native x86_64

2016-09-15 Thread Josias Inacio da Silva Filho
Hi folks, Here’s my current setup and current situation: Host: x86_64 Target: aarch64 Build core-image-base for aarch64 - OK populate_sdk for aarch64 - OK My application and it unit tests also gets compiled to aarch64. What I wanted now would be something like run populate_sdk for “core-image

[yocto] Execute recipe only after kernel is built and rootfs file is created in deploy folder

2016-02-04 Thread Josias Inacio da Silva Filho
Hi guys, I’m trying to run a recipe that has dependencies in the generation of the roofts and kernel image files. Without those two files already in the deploy folder, I cannot start running my recipe. Some suggested that I should add the task in a class and make that dependent of do_rootfs. T