[oe] How to properly enforce an ARM OABI build?
Sergey 'Jin' Bostandzhyan
jin at mediatomb.cc
Wed Apr 16 09:42:40 UTC 2008
On Tue, Apr 15, 2008 at 09:47:35AM -0700, Khem Raj wrote:
> you can also try to comment out
>
> ARM_ABI ?= "${@['','oabi'][bb.data.getVar('MACHINE',d) in
> ['collie','h3600', 'h3800', 'simpad', 'htcwallaby']]}"
>
> and check
tried this without any luck, but then it struck me - someone was rewriting my
TARGET_OS!
this someone is angstrom-uclibc.inc:
TARGET_OS_UC = "linux${@['-uclibc','-uclibcgnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb'] and bb.data.getVar('MACHINE',d) not in ['collie','h3600', 'h3800', 'simpad', 'htcwallaby']]}"
TARGET_OS = "${@['${TARGET_OS_UC}', 'uclinux-uclibc'][bb.data.getVar('TARGET_ARCH',d) in ['bfin']]}"
So I tried to set TARGET_OS to "linux-uclibc" in my local.conf and I
commented out the lines in angstrom-uclibc.inc - and it worked.
The question now is - how could this be solved cleanly in Angstrom?
Would this be an option:
TARGET_OS ?= "${@['${TARGET_OS_UC}', 'uclinux-uclibc'][bb.data.getVar('TARGET_ARCH',d) in ['bfin']]}"
Kind regards,
Jin
>
> On Tue, Apr 15, 2008 at 9:39 AM, Sergey 'Jin' Bostandzhyan
> <jin at mediatomb.cc> wrote:
> > On Tue, Apr 15, 2008 at 09:09:42AM -0700, Khem Raj wrote:
> > > > MACHINE="armv4t"
> > > > DISTRO="angstrom-2007.1"
> > > > TARGET_OS :="linux"
> > > > ARM_ABI := "oabi"
> > >
> > > may be use '=' instead of ':='
> >
> > I did try that before trying := but there was no difference...
> >
> >
> >
> >
> >
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel at lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> >
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
More information about the Openembedded-devel
mailing list