Questions tagged [yocto-recipe]

213 questions
1
vote
1 answer

How to install a (sub)package of a virtual package in Yocto

Setup I am working with Yocto 3.4 "Honister" and I utilize the following layers: openembedded-core (refspec: yocto-3.4) meta-openembedded (refspec: f632403d1800363ac63a1ad5543278b82c659832) meta-raspberrypi (refspec:…
MiEbe
  • 96
  • 8
1
vote
1 answer

Using Bitbucket App Password in Yocto recipe for git repo over https

On command line "git clone https://username:app-password@bitbucket.org/dir/repo.git", works, wherein app-password is an "alphanumeric string created by bitbucket" But when using with Yocto Recipe SRC_URI =…
1
vote
1 answer

Fail to build Yocto extensible SDK

I'm new to Yocto and I've been trying to setup for developing with devtool. I've followed the instructions from from the Yocto Linux Kernel Development Manual, but I've made a change to Step #2, setting MACHINE = stm32mp1 since I'm targeting the…
1
vote
2 answers

How to retrieve PACKAGECONFIG variable from another recipe to a bbclass

For one of my requirements, I need to call a specific tasks based on whether a packageconfig variable is defined in another recipes or not. For example: We have a recipe called recipes-crypto where, in the .bb file we…
1
vote
0 answers

how to add yocto recipy that will be build for non-default target arch

I work for a large yocto based project which builds has a target that builds the firmware for an embedded ARM device. One of the recipes downloads the source code and builds a component by running a "make " command in do_compile(). The compilation…
nass
  • 1,453
  • 1
  • 23
  • 38
1
vote
2 answers

openblas.bb:do_compile failed with exit code '1"

I am trying to build the openblas.bb in a yocto project but it fails. machine is "qemux86-64" DESCRIPTION = "OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version." SUMMARY = "OpenBLAS : An optimized BLAS library" AUTHOR =…
A.A.
  • 125
  • 1
  • 11
1
vote
1 answer

yocto recipe how to install file to rootfs

sorry I am a little new to syntax of yocto, this is how I have modified my recipe: LICENSE = "LGPLv2.1" FILESEXTRAPATHS_prepend := "${THISDIR}/files:" SRC_URI = "file://myscript.sh" FILES_${PN} += "${sysconfdir}/init.d/myscript.sh" do_install() { …
homer69
  • 53
  • 1
  • 8
1
vote
0 answers

Can Yocto create more than one module from a single recipe?

I am trying to create a set of linux driver modules under yocto. The drivers are fundamentally very similar but for reasons of hardware, have a separate source file for each interface resulting in a set of N modules. All of the drivers share…
1
vote
0 answers

configure: error: python3.7 interpreter not found

I'm trying to upgrade the python recipe by using devtool from version 3.5.x to 3.7.6. At 95% I get the following error: ERROR: python3-3.7.6-r0 do_configure: configure failed ERROR: python3-3.7.6-r0 do_configure: Function failed: do_configure (log…
Antonio Santoro
  • 827
  • 1
  • 11
  • 29
1
vote
1 answer

Replace sshd_config file with the custom one in Yocto

I use Yocto Zeus to build an embedded Linux for my board. So far I need to replace the /etc/ssh/sshd_config with my custom one. Unfortunately I couldn't find any useful information about that. Just found some help on the Internet. I've created a…
folibis
  • 12,048
  • 6
  • 54
  • 97
0
votes
0 answers

Running/Building Yocto intel-core2-32 on 64-bit machine

I have been trying to run meta-intel Intel BSP intel-core2-32 on my 64-bit x86 hardware with 64-bit UEFI. I know that 64-bit UEFI will look only for bootx64.efi which gets produced and successfully loaded when using intel-corei7-64 BSP. What are the…
Anton9988
  • 377
  • 1
  • 4
  • 17
0
votes
1 answer

Need clarification regarding when to use bb/inc file in Yocto

New to Yocto here and still getting familiar with it so might be a naive question so i have a clarification on when to create inc or bb file for a package. So let say i have a package A and my project already have a recipe bb file for it let say…
bourne
  • 1,083
  • 4
  • 14
  • 27
0
votes
1 answer

Install Opencv in Yocto

I am new to Yocto project. I am using SAM9X60-EK as my target, and I want to add opencv to my image. I noticed that there is opencv included with meta-oe but when I add IMAGE_INSTALL:append = " opencv" to my core-image-sato.bbaappend file it gives…
Nishuthan S
  • 1,538
  • 3
  • 12
  • 30
0
votes
0 answers

Need help in appending to RDEPEND of another recipe from your recipe

Yocto newbie here and seeking advice as to how to append variables of another recipe from my recipe. To provide more context lets say there is a some recipe file packagegroup-common.bb defined in a package that i cannot modify and i need to run…
bourne
  • 1,083
  • 4
  • 14
  • 27
0
votes
0 answers

Having issues making ptest works with Yocto

Newbie here, trying to learn and setup Yocto to build and run unit tests for my recipe that fetches code from FooImpl but getting errors and unable to understand the root cause. So my recipe file is foo-impl-git.bb and the contents are SUMMARY =…
bourne
  • 1,083
  • 4
  • 14
  • 27