All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc>
To: openembedded-devel@lists.openembedded.org
Subject: Re: How to properly enforce an ARM OABI build?
Date: Wed, 16 Apr 2008 11:42:40 +0200	[thread overview]
Message-ID: <20080416094240.GA15886@deadlock.dhs.org> (raw)
In-Reply-To: <19c1b8a90804150947y484520a2j726123713ff216fa@mail.gmail.com>

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@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@lists.openembedded.org
> >  http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> >
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



  reply	other threads:[~2008-04-16  9:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2008-04-19 22:56         ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080416094240.GA15886@deadlock.dhs.org \
    --to=jin@mediatomb.cc \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.