Skip to main content
Hammy
Associate III
January 23, 2023
Solved

bitbake openocd-stm32mp works but bitbake openocd-stm32mp-native doesn't

  • January 23, 2023
  • 1 reply
  • 1150 views

When I run bitbake openocd-stm32mp-native I get an issue baking the application but when I run bitbake openocd-stm32mp it works fine. Any thoughts why this might be?

Edit: I was porting my layer from dunfel to kirkstone and I wasn't importing the open-st-linux.inc file. It had since changed to require the uninative support. Adding that to my machine config got it to work correctly.

This topic has been closed for replies.
Best answer by Hammy

I had to add the following to my conf/machine/machine.conf

# =========================================================================
# Enable uninative support
# =========================================================================
require conf/distro/include/no-static-libs.inc
require conf/distro/include/yocto-uninative.inc
INHERIT += "uninative"

1 reply

Hammy
HammyAuthorBest answer
Associate III
January 23, 2023

I had to add the following to my conf/machine/machine.conf

# =========================================================================
# Enable uninative support
# =========================================================================
require conf/distro/include/no-static-libs.inc
require conf/distro/include/yocto-uninative.inc
INHERIT += "uninative"