Skip to contentSkip to conversation

what is the purpose of COMPATIBLE_MACHINE_genericx86 = "genericx86"?

DISCUSSION Robert P. J. Day 1 participant 1 message Feb 18, 2020

lore
Share & tools
lore
#0 lore raw

i suspect i've asked this before but i can't recall if i saw an
answer (apologies if one was posted) ... under meta-yocto-bsp, in linux-yocto_5.2.bbappend:

COMPATIBLE_MACHINE_genericx86 = "genericx86" COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64" COMPATIBLE_MACHINE_edgerouter = "edgerouter" COMPATIBLE_MACHINE_beaglebone-yocto = "beaglebone-yocto" COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb"

are the above not simply saying (for example):

"if this target is a genericx86, then i am compatible with a genericx86?" and so on, and so on?

would this not be equivalent to just writing:

COMPATIBLE_MACHINE = "genericx86|genericx86-64|edgerouter|..."

(or possibly with += depending on what else is going on.)

is there something different by using those individual assignments?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                         http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================