> Op 24 okt. 2014, om 16:10 heeft Richard Purdie > <richard.pur...@linuxfoundation.org> het volgende geschreven: > > Various pieces of the code assume that the --sysroot option gets passed > into the compiler tools. By having a "sane" default, we don't always > spot when this occurs and this can later show up as breakage in sstate, > or in usage of the external toolchain. > > We've long since talked about poisoning the default such that it will > break unless the correct option is specified. This patch does just that. > > If this patch causes something to fail to build, it most likely means > the various compiler flags and commands are not correctly being passed > through to the underlying piece of software and that there is a real > problem that needs fixing, its not the fault of this patch.
So hopefully this won't be needed anymore in my autobuilders: export GCCARCH=$(MACHINE=${machine} bitbake -e | grep TARGET_ARCH\= | awk -F'"' '{print $2}') MACHINE=$machine bitbake gcc-cross-${GCCARCH} -c cleansstate || true Current offenders are: u-boot, linux and on x86 only, opencv. regards, Koen -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core