All of lore.kernel.org
 help / color / mirror / Atom feed
* How to properly enforce an ARM OABI build?
@ 2008-04-15 12:29 Sergey 'Jin' Bostandzhyan
  2008-04-15 16:09 ` Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Sergey 'Jin' Bostandzhyan @ 2008-04-15 12:29 UTC (permalink / raw)
  To: openembedded-devel

Hi,

I want to build Angstrom for ARM OABI and I'm struggling to get the settings
right.

I'm using org.openembedded.stable and I tried this in my local conf:

MACHINE="armv4t"
DISTRO="angstrom-2007.1"
TARGET_OS :="linux"
ARM_ABI := "oabi"

ANGSTROM_MODE = "uclibc"
TARGET_FPU = "soft"

ENABLE_BINARY_LOCALE_GENERATION = "0"

My machine configuration does not do anything special either:
PACKAGE_EXTRA_ARCHS = "armv4 armv4t"
TARGET_ARCH = "arm"
require conf/machine/include/tune-arm920t.inc

Now.. I saw that Angstrom is using the ARM_ABI variable:
ARM_ABI ?= "${@['','oabi'][bb.data.getVar('MACHINE',d) in ['collie','h3600', 'h3800', 'simpad', 'htcwallaby']]}"
require conf/distro/include/angstrom${ARM_ABI}.inc

Since it's ?= I should be able to override it, right?
The directory in the work dir also look interesting:
arm-oabi-angstrom-linux-uclibcgnueabi

And the toolchain got created as arm-angstrom-linux-uclibcgnueabi-*, the 
produced binaries are also EABI.

What am I missing? How do I force an OABI build for my machine?

Kind regards,
Jin




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-04-19 22:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-15 12:29 How to properly enforce an ARM OABI build? Sergey 'Jin' Bostandzhyan
2008-04-15 16:09 ` Khem Raj
2008-04-15 16:39   ` Sergey 'Jin' Bostandzhyan
2008-04-15 16:47     ` Khem Raj
2008-04-16  9:42       ` Sergey 'Jin' Bostandzhyan
2008-04-19 22:56         ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.