Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: bitbake overrides

$
0
0

Hi there, I'm trying to get valgrind to build on the tci6638 using bitbake and yocto. I get the following error.


ERROR: valgrind was skipped: incompatible with host arm-oe-linux-gnueabi (not in COMPATIBLE_HOST)
NOTE: Runtime target 'valgrind' is unbuildable, removing...


In valgrind_3.7.0.bb we have the following two lines

COMPATIBLE_HOST = '(i.86|x86_64|powerpc|powerpc64).*-linux'
COMPATIBLE_HOST_armv7a = 'arm.*-linux'

I see this is some kind of override.. in the bitbake manual

OVERRIDES is a “:” seperated variable containing each item you want to satisfy conditions. So, if you have a variable which is conditional on “arm”, and “arm” is in OVERRIDES, then the “arm” specific version of the variable is used rather than the non-conditional version.

So I assume i need  to add a line like

OVERRIDES += ":armv7a"

but my question is where do I add this line? Everywhere I've tried so far does not seem to trigger the override.


Can anyone tell me where I'm going wrong?

Cheers

Ville


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>