cancel
Showing results for 
Search instead for 
Did you mean: 

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

Hammy
Associate III

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Hammy
Associate III

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"

View solution in original post

1 REPLY 1
Hammy
Associate III

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"