Changing SDKPATH


Damien LEFEVRE
 

Hi,

I would need that to change the default location for the SDK install script to avoid mistakes with multiple SDKs and ease installations. How can I change the SDKPATH?

My distro includes conf/distro/poky.conf and I overwrite
SDKPATH = "/opt/${IMAGE_BASENAME}-${SDK_VERSION}-${DISTRO_CODENAME}-${MACHINE}"

If I set SDKPATH to something other than /opt/${DISTRO}/${SDK_VERSION} , nativesdk-libgcc-initial fails some sanity test:
...
checking how to run the C preprocessor... x86_64-pokysdk-linux-gcc -E --sysroot=/data/yocto/zeus/build-jetson-xavier/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-libgcc-initial/7.3.0-r0/recipe-sysroot
configure: error: in `/data/yocto/zeus/build-jetson-xavier/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-libgcc-initial/7.3.0-r0/gcc-7.3.0/build.x86_64-pokysdk-linux.x86_64-pokysdk-linux/libgcc':
configure: error: C preprocessor "x86_64-pokysdk-linux-gcc -E --sysroot=/data/yocto/zeus/build-jetson-xavier/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-libgcc-initial/7.3.0-r0/recipe-sysroot " fails sanity check
See `config.log' for more details.
WARNING: exit code 1 from a shell command.
...

Thanks,
-Damien

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.