[oe] python-distutils_2.6.6: config/Makefile contains sysroot

Kartik Mohta kartikmohta at gmail.com
Wed Apr 6 22:04:57 UTC 2011


The Makefile (in /usr/lib/python2.6/config) used by distutils to
compile modules contains the original sysroot used while compiling
Python on the host:

CC=        arm-angstrom-linux-gnueabi-gcc -march=armv7-a
-mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard -mthumb-interwork
-mno-thumb --sysroot=/home/kartikmohta/overo-oe/tmp/sysroots/armv7a-hardfp-angstrom-linux-gnueabi
CXX=       arm-angstrom-linux-gnueabi-g++ -march=armv7-a
-mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard -mthumb-interwork
-mno-thumb --sysroot=/home/kartikmohta/overo-oe/tmp/sysroots/armv7a-hardfp-angstrom-linux-gnueabi

This leads to the following error when compiling modules using distutils:
/usr/lib/gcc/arm-angstrom-linux-gnueabi/4.5.3/../../../../arm-angstrom-linux-gnueabi/bin/ld:
this linker was not configured to use sysroots


Can these sysroot arguments be removed in the do_install_append() step
using a simple sed script?

-- 
Kartik




More information about the Openembedded-devel mailing list