Hi, Le jeu. 9 mars 2023 à 08:11, Mauro Ziliani <[email protected]> a écrit :
> Good morning. > > I made a project for IMX6 platform. > > Now I ported it to x86. > > I made a layer for IMX6, but some recipe.bb cannot be compiled fo x86, > or some recipe.bbappend has not a mother, so the bibtake stops. > > I to adapt the layer to x86 architecture I put some BBMASK += "" in my > conf/bblayers.conf for x86 build environment and I excluded every > unneeeded file for x86. > > Can I put the BBMASK in some conf file inside the layer to do the same, > dependig on MACHINE, using OVERRIDE? > > The first idea was put BBMASK in layer.conf, like this > > BBMASK_intel-corei7-64 = " \ > .... \ > " > > I'd like to became my layer "auto-configurable" about MACHINE value > > > Any idea? > Have you looked into COMPATIBLE_MACHINE? => https://docs.yoctoproject.org/ref-manual/variables.html#term-COMPATIBLE_MACHINE Looks like a perfect match for what you are trying to do! Regards, -- Yoann Congal
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#59372): https://lists.yoctoproject.org/g/yocto/message/59372 Mute This Topic: https://lists.yoctoproject.org/mt/97491481/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
