After Richard modified the meta-toolchain output infrastructure, the environment variables for cross autotool compile in Yocto SDK plugin is not valid any more. The environment variables are set through YoctoSDKProjectNature.setEnvironmentVariables(), which set 3 variables "PATH", "PKG_CONFIG_SYSROOT_DIR", "PKG_CONFIG_PATH". They all need to be adjusted according to the latest meta-toolchain output change. It looks like there are some env variables missing in the function, e.g. CC, CONFIGURE_FLAGS, etc. which are defined in the file /opt/poky/environment-setup-XXX-poky-linux. The misconfigured environment would cause autogen.sh generated wrong configure while the user is unaware of. (HelloWorld has no problem, but large projects using pkg-config would cause problems). Besides, it would be nice if YoctoSDKProjectNature.configureAutotoolsoptions() can set autotool options like --host, --target, --build to the value extracted from CONFIGURE_CFLAGS.
Rework the preference and project setting pages for Yocto projects to adopt the latest meta-toolchain-sdk directory structure changes. Also, include target, host, build and compiler flags to autobools according the user setup
Changed to SDK Plugin/Eclipse component
Verified that the plug-in now read in those environment variables from the file /opt/poky/environment-setup-XXX-poky-linux.