cancel
Showing results for 
Search instead for 
Did you mean: 

Can't build my yocto image with meta-st-openstlinux without graphics packages

llotte
Visitor

As defined in the title, I want to make a clean image for my stm32mp257F-DK without any graphic package. But I also want to use the Real Time layer with it (that is not supported at the moment, but I work in advance). However the RT layer depends on the meta-st-openstlinux one. But when I want to build my st-image-core, I see that there is some graphic packages that are installed. I think about libglu that make the build crash with the following error :


fatal error: KHR/khrplatform.h: No such file or directory
| 37 | #include <KHR/khrplatform.h>

 

Is there a way to avoid this behaviour ? Or do I something wrong ?

 

Here is my bblayers.conf :

# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

LAYERS_REPO = "${TOPDIR}/../layers"

BBLAYERS ?= " \
  ${LAYERS_REPO}/poky/meta \
  ${LAYERS_REPO}/poky/meta-poky \
  ${LAYERS_REPO}/poky/meta-yocto-bsp \
  ${LAYERS_REPO}/meta-st-stm32mp \
  ${LAYERS_REPO}/meta-st-openstlinux \
  ${LAYERS_REPO}/meta-openembedded/meta-oe \
  ${LAYERS_REPO}/meta-openembedded/meta-python \
  ${LAYERS_REPO}/meta-openembedded/meta-gnome \
  ${LAYERS_REPO}/meta-openembedded/meta-multimedia \
  ${LAYERS_REPO}/meta-openembedded/meta-networking \
  ${LAYERS_REPO}/meta-openembedded/meta-webserver \
  ${LAYERS_REPO}/meta-ros/meta-ros-common \
  ${LAYERS_REPO}/meta-ros/meta-ros2 \
  ${LAYERS_REPO}/meta-ros/meta-ros2-humble \
  ${LAYERS_REPO}/meta-pellenc \
"

 

And here is my local.conf settings :

CONF_VERSION = "2"

ACCEPT_EULA_stm32mp25-disco = "1"
MACHINE = "stm32mp25-disco"

LICENSE_FLAGS_ACCEPTED += "commercial"

STM32MP_ROOTFS_IMAGE = "${IMAGE_BASENAME}"
0 REPLIES 0