I am using FSL Community BSP 2.2 morty to build images on LS1021atwr board.
I build the toolchain by :
bitbake meta-toolchain # SDKMACHINE="i686" in conf/local.conf to build for 32bit version
Everything builds fine and toolchain is installed to /opt/poky/2.2.2.
But when I compile an application which includes "zlib.h", it complains "include file not found".
I can't find zlib.h under /opt/poky/2.2.2/.
i check the root fs built, it has the libz.so.
Does anyone knows what is going on ?