change 'local' to variable for standard-style (yocto) crossbuilds