Questions tagged [openembedded]

OpenEmbedded is a software framework to create Linux distributions aimed for, but not restricted to, embedded devices.

514 questions
5
votes
1 answer

How to add more threads when building?

When doing bitbake core-image-xxxx the build task will auto select 8 threads ( since my CPU is 8 cores) to build the image. my system is 72GB ram, can I force bitbake to run with more threads? or any way to ask bitbake to use more ram?
GreenTea
  • 769
  • 1
  • 10
  • 36
5
votes
3 answers

Yocto rebuild image after modifying source code

How can I rebuild the image after making some modifications to driver source code? I have tried bitbake -f -c compile and bitbake but I coudn't find the modified settings in the driver. Can someone tell me how can i rebuild the image with the…
maddog
  • 83
  • 1
  • 1
  • 6
5
votes
3 answers

How to restrict a recipe to native and nativesdk only?

I have a recipe which I want to prevent from being built for the target. I understand that, given a recipe xyz.bb, adding BBCLASSEXTEND += " native nativesdk" 'magically' allows all of the following: $ bitbake xyz # 1 $ bitbake…
kdopen
  • 8,032
  • 7
  • 44
  • 52
5
votes
2 answers

How to remove unneeded files after those are installed by Yocto?

I'm trying to create a recipe for a custom library in Yocto. I'm currently getting this error: ERROR: ... do_package: QA Issue: pot-plugin: Files/directories were installed but not shipped in any package: …
Luca Carlon
  • 9,546
  • 13
  • 59
  • 91
5
votes
2 answers

Bitbake: "Nothing PROVIDES" error

I'm new to Yocto and Bitbake. I'm running my yocto machine through a qemu emulator on Ubuntu and attempting to use the meta-selftest layer to get a sense of how to install new layers. I have downloaded the meta-selftest files into the directory…
Patchwork
  • 143
  • 1
  • 3
  • 9
5
votes
2 answers

bitbake failed with ExpansionError

Context: I'm following the NXP i.MX7 Reference to build a Linux image for the i.MX 7 SABRE board. This process went smoothly, and I was successful in building and loading the krogoth image on the board. The problem arise when I tried to add the…
tchau.dev
  • 903
  • 1
  • 11
  • 30
5
votes
2 answers

How can I override another .bbappend

I have built an image with systemd and dhcp-client. In the recipe dhcp in meta-openembedded/meta-systemd/oe-core/recipes-connectivity/dhcp there is a bbappend which creates a dhclient.service. I want to modify (or override) this file but when I…
Pouet_forever
  • 121
  • 1
  • 7
5
votes
2 answers

Yocto: how to remove/blacklist some dependency from RDEPENDS of a package?

I have a custom machine layer based on https://github.com/jumpnow/meta-wandboard. I've upgraded the kernel to 4.8.6 and want to add X11 to the image. I'm modifying to image recipe (console-image.bb). Since wandboard is based on i.MX6, I want to…
Alexander Amelkin
  • 759
  • 1
  • 9
  • 15
5
votes
2 answers

How can I change the installation path of an autotools-based Bitbake recipe?

I have an autotools-based BitBake recipe which I would like to have binaries installed in /usr/local/bin and libraries installed in /usr/local/lib (instead of /usr/bin and /usr/lib, which are the default target directories). Here's a part of the…
karobar
  • 1,250
  • 8
  • 30
  • 61
5
votes
2 answers

How to install directory structure recursively in OpenEmbedded BitBake recipe?

I'd like to simplify a BitBake recipe that installs a large directory structure by using some sort of recursive install routine rather than calling install many times. The source directory layout is frequently changing during development, which is…
user5071535
  • 1,312
  • 8
  • 25
  • 42
5
votes
1 answer

Which is better for a beginner Yokto project or OpenEmbedded , building one's own embedded distro?

After watching some videos/conferences, reading documentations ... I am still unable to decide which is better : OpenEmbedded or Yocto for building one's own real time distro ( better said linux kernel ). The project i am working on is time limited…
TheX
  • 61
  • 1
  • 4
5
votes
1 answer

__libc_csu_fini and __libc_csu_init undefined while following instructions for build-webos

I'm trying to build OpenWebOS and just following the plan laid out in the build-webos GitHub README. I'm using a fresh 32-bit Ubuntu 12.10 installation. Things have been a bit bumpy. However, with a tweak here and there I managed to get up to step…
4
votes
2 answers

didn't pass LDFLAGS? [ldflags]

I created a recipe, summary as follows: do_install() { install -d ${D}/GreenTea cp ${S}/foo.sh ${D}/GreenTea cp ${S}/foo.so ${D}/GreenTea when bitbake this recipe, it shows: didn't pass LDFLAGS? [ldflags] ERROR: greentea-1.0-r0…
GreenTea
  • 769
  • 1
  • 10
  • 36
4
votes
1 answer

BBCLASSEXTEND="native nativesdk"

After checked the official document, I still don’t understand this meaning in recipe. BBCLASSEXTEND="native nativesdk"
GreenTea
  • 769
  • 1
  • 10
  • 36
4
votes
2 answers

YOCTO Change kernel version and select drivers

I am trying to compile a new Linux kernel obtained from https://github.com/qoriq-open-source/linux (version 4.9) for T1042D4RDB-64B embedded board using Yocto. It's currently using 4.1.35-rt41. I followed these steps: bitbake virtual/kernel -c…