On 29 September 2016 at 10:02, Robert Yang <liezhi.yang@windriver.com> wrote:
-EXTRA_OECONF = "--with-boost=${PKG_CONFIG_SYSROOT_DIR}/${prefix}"
+EXTRA_OECONF = "--with-boost=yes --with-boost-libdir=${PKG_CONFIG_SYSROOT_DIR}${libdir}"

PKG_CONFIG_SYSROOT_DIR is the wrong variable to use here as that's explicitly for pkg-config to know what the current sysroot is.  Use STAGING_DIR_TARGET explicitly.

Ross