[oe] How to convert OE hardware platform from ARM into X86

GNUtoo GNUtoo at no-log.org
Fri Jun 5 12:37:14 UTC 2009


On Fri, 2009-06-05 at 10:12 +0800, 刘芳华 wrote:
> The hardware target of OE in my system is ARM.And it was configured
> and changed by ourselves for some purpose.Now we need to convert the
> hardware target into X86 on the base of current environment. I didn't
> know the exactly step,just tried by myself.But while I go back to the
> ARM hardware target environment,
hi, why don't you use 2 different local.conf with 2 different local
directories?(note that you can't rename or move a temp directory so
chose carefully its name at the beginning) and use a script to switch
between them with simlinks?
for instance for the openmoko I use:
$ cat openmoko.sh 
cd build/conf/
unlink local.conf 
ln -s openmoko.conf local.conf
cd ${HOME}/
unlink oetmp
ln -s oetmp_openmoko oetmp

and here's my local.conf:
$ cat build/conf/local.conf | sed 's/#.*//' | sed '/^$/d'
DL_DIR = "${HOME}/sources"
BBFILES="${HOME}/oe/local_recipes/recipes/*/*.bb
${HOME}/oe/org.openembedded.dev/recipes/*/*.bb"
BBFILE_COLLECTIONS = "local upstream"
BBFILE_PATTERN_upstream = "^${HOME}/oe/org.openembedded.dev/recipes/"
BBFILE_PATTERN_local = "^${HOME}/oe/local_recipes/recipes/"
BBFILE_PRIORITY_upstream = "1"
BBFILE_PRIORITY_local = "2"
BBMASK = ""
PREFERRED_PROVIDERS = "virtual/qte:qte virtual/libqpe:libqpe-opie"
PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-x11"
PREFERRED_PROVIDERS += "
virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
PREFERRED_PROVIDERS += "
virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
TMPDIR = ${HOME}/oetmp_openmoko
MACHINE = "om-gta02"
DISTRO = "openmoko"
IMAGE_FSTYPES = "tar"
BBINCLUDELOGS = "yes"
PREFERRED_VERSION_qemu-native = "0.10.3"
PREFERRED_VERSION_qemu = "0.10.3"
PREFERRED_VERSION_frozen-bubble = "2.2.0"
PREFERRED_VERSION_libsdl-mixer = "1.2.8"
PREFERRED_VERSION_boost = "1.38.0"
PREFERRED_VERSION_boost-jam-native = "3.1.17"
PREFERRED_VERSION_wesnoth = "1.6a"
PREFERRED_VERSION_gnash = "0.8.5"
PREFERRED_VERSION_libosip2 = "2.2.2"
PREFERRED_VERSION_openssh = "5.2p1"
OLDEST_KERNEL = "2.6.28"

note my tmpdir is not oetmp but oetmp_openmoko
the oetmp simlink is only for letting me find the good directory

Denis.





More information about the Openembedded-devel mailing list