]> code.ossystems Code Review - openembedded-core.git/commit
linuxloader.bbclass: add musl libc support
authorMing Liu <peter.x.liu@external.atlascopco.com>
Thu, 6 Jul 2017 11:50:31 +0000 (13:50 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 8 Jul 2017 12:34:00 +0000 (13:34 +0100)
commit5d4acaed81a811912e60d85c507bee819623369e
tree30162b956077772e0f70d06338ed1cc331ecf38d
parent0fc904749f45bd7d679233cced9d5a155afac421
linuxloader.bbclass: add musl libc support

Current linuxloader.bbclass does not support musl libc ldso, so add it
in.

After changing, now the linuxloader function will call a subfunction
according to which virtual/libc is being used, glibc or musl, the
linuxloader_musl function is made on top of the LDSO macro defined
in musl source, by mapping related OE variables to it.

Change tested on following machines:
"genericx86"
"genericx86-64"
"beaglebone"
"qemumips64"
"qemuarm64"
"mpc8315e-rdb"
"edgerouter"
"qemumips"
"kc705-microblazeel" - meta-xilinx
"qemuppc"

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/linuxloader.bbclass