[meta-freescale] Native package building

Alberto Liberal de los Rios aliberal at arroweurope.com
Tue Nov 12 06:38:26 PST 2013


Maybe someone of you can help me with one question (I have searched a lot of info, but nothing that clarifies it to me). I am compiling zlib 1.2.7 with the next recipe:

SUMMARY = "Zlib Compression Library"

DESCRIPTION = "Zlib is a general-purpose, patent-free, lossless data compression \ library which is used by many different programs."

HOMEPAGE = "http://zlib.net/"

SECTION = "libs"

LICENSE = "Zlib"

LIC_FILES_CHKSUM = "file://zlib.h;beginline=4;endline=23;md5=94d1b5a40dadd127f3351471727e66a9<file:///\\zlib.h;beginline=4;endline=23;md5=94d1b5a40dadd127f3351471727e66a9>"

SRC_URI = "http://www.zlib.net/${BPN}-${PV}.tar.bz2 \

           file://remove.ldconfig.call.patch<file:///\\remove.ldconfig.call.patch> \


SRC_URI[md5sum] = "2ab442d169156f34c379c968f3f482dd"

SRC_URI[sha256sum] = "49e2e9658dfb036900da6ea0267a737fa3c4eee6666776d378c79d52e9334934"

do_configure (){

                ./configure --prefix=${prefix} --shared --libdir=${libdir} }

do_compile (){



do_install() {

                oe_runmake DESTDIR=${D} install


BBCLASSEXTEND = "native nativesdk"

I have a doubt about the need of "native nativesdk" If I understand well the building of this package depends of a zlib native building on the host, therefore the "native".  Is it needed to build the package on the host? If I build zlib using the meta-toolchain outside of yocto is not needed any host building of the library. If I remove BBCLASSEXTEND of the recipe, I have errors during Yocto building What´s the difference between native & nativesdk?

Many thanks in advance


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20131112/bb5f5e4f/attachment.html>

More information about the meta-freescale mailing list