> Returning to Zynq 7000 for a moment, I tried this in local.conf: > > DEFAULTTUNE = "armv7afpthf" > MULTILIBS:forcevariable = "" > > With this command: > > MACHINE=aarch32-tc DISTRO="xilinx-standalone" bitbake exceptions > > Where 'exceptions' is an in-house recipe that uses CMake to build a static > library. I get this error: > > ERROR: exceptions-1.0+git999-r0 do_package: QA Issue: exceptions: > Files/directories were installed but not shipped in any package: > /usr/lib/libexceptions.a > > > ... because multilib has rewritten FILES to be: > > FILES:exceptions-staticdev="/usr/lib/thumb/v7-a+fp/hard/*.a /lib/thumb/v7- > a+fp/hard/*.a /usr/lib/thumb/v7-a+fp/hard/exceptions/*.a" > > > So, instead I tried this: > > MACHINE=aarch32-tc DISTRO="xilinx-standalone" bitbake libv7afpthf- > exceptions > > > But BitBake says it can't PROVIDE that. So I think I do need to set MULTILIBS > to > something after all?
I think I am getting close. I had previously modified meta-xilinx-standalone/conf/machine/aarch32-tc.conf to change the line "DEFAULTTUNE = "aarch32"" to "DEFAULTTUNE ?= "aarch32"", which really messed things up. I reverted that change. This is what worked in local.conf: MACHINE = "aarch32-tc" # Require not necessary - already included by aarch32-tc #require conf/multilib.conf MULTILIBS:forcevariable = "multilib:aarch32" Now I am able to do: DISTRO="xilinx-standalone" bitbake exceptions And also this almost works: DISTRO="xilinx-standalone" bitbake libv7afpthf-exceptions It builds, but still complains about the lib ended up at /usr/lib/libexceptions.a, but I think this is an issue with cmake. Someone else reported something similar here: https://www.yoctoproject.org/pipermail/yocto/2019-May/045486.html Thanks again, Chris
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#5099): https://lists.yoctoproject.org/g/meta-xilinx/message/5099 Mute This Topic: https://lists.yoctoproject.org/mt/95098230/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
