All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: lothar@denx.de
Cc: yocto@yoctoproject.org
Subject: Re: /lib/ld-linux.so.3: No such file or directory
Date: Wed, 31 Jul 2013 11:04:54 +0100	[thread overview]
Message-ID: <1384790.3BX6RMkKI6@helios> (raw)
In-Reply-To: <20130730180449.64971389c5lrpxdw@webmail.mnet-online.de>

Hi Lothar,

On Tuesday 30 July 2013 18:04:49 lothar@denx.de wrote:
> I'm writing a recipe firmware_HEAD.bb. The actions shall be checkout from
> git, run "make", copy the result to ${D}/lib/firmware.
> 
> DESCRIPTION = "external sdma-firmware blob"
> LICENSE = "GPLv2"
> LIC_FILES_CHKSUM =
> "file://sdma-gen-image.c;beginline=1;endline=19;md5=8db9f935666ba755af54af9d
> 8611b857" PR = "r1"
> SRC_URI = "git://git.pengutronix.de/git/imx/sdma-firmware.git/"
> ## curr HEAD: "4aede1eb121e8199d33fe6697f4c91405086000a"
> SRCREV = "4aede1eb121e8199d33fe6697f4c91405086000a"
> S = "${WORKDIR}/git"
> do_install(){
>      install -d ${D}/lib/firmware
> # TODO
> }
> 
> 
> 
> Actually an easy task, I thought. Checkout works fine, but the implicit make
> fails, having /lib/ld-linux.so.3 already installed under ${sysroot}/lib.

I'm not sure but it definitely sounds like it's looking on the host rather than 
in the proper target sysroot. I'd suggest looking at other recipes that are 
makefile based; you should define your own do_compile and supply the appropriate 
options to make (or more appropriately oe_runmake) within it.

> $ MACHINE="m53evk" bitbake -b
> /work/lothar/acme/meta-acme/recipes-kernel/sdma-firmware/sdma-firmware_HEAD.
> bb -f
> WARNING: Buildfile specified, dependencies will not be handled. If
> this is not what you want, do not use -b / --buildfile.

You should not use -b; if you do, anything you mention in DEPENDS won't be 
satisfied when it comes time. Use "bitbake recipename" instead of "bitbake -b 
path/to/recipename_version.bb".

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


  reply	other threads:[~2013-07-31 10:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-30 16:04 /lib/ld-linux.so.3: No such file or directory lothar
2013-07-31 10:04 ` Paul Eggleton [this message]
2013-07-31 13:35   ` lothar

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=1384790.3BX6RMkKI6@helios \
    --to=paul.eggleton@linux.intel.com \
    --cc=lothar@denx.de \
    --cc=yocto@yoctoproject.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.