Re: [yocto] how to write a shell command in local.conf

2012-10-31 Thread Chris Larson
On Wed, Oct 31, 2012 at 7:52 PM, Liu wrote: > HOST_ARCH:="${@os.popen('/usr/bin/gcc -dumpmachine | sed -e s\'/-.*//\' \ > -e \'s/sparc.*/sparc/\' \ > -e \'s/arm.*/arm/g\' \ > -e \'s/m68k.*/m68k/\' \ > -e \'s/ppc/powerpc/g\' \ > -e \'s/v850.*/v850/g\' \ > -e \'s/sh[234]/sh/\

[yocto] how to write a shell command in local.conf

2012-10-31 Thread Liu
Hi all, I add the following settings in local.conf : HOST_ARCH:="${@os.popen('/usr/bin/gcc -dumpmachine | sed -e s\'/-.*//\' \ -e \'s/sparc.*/sparc/\' \ -e \'s/arm.*/arm/g\' \ -e \'s/m68k.*/m68k/\' \ -e \'s/ppc/powerpc/g\' \ -e \'s/v850.*/v850/g\' \ -e \'s/sh[234]/sh/\'