Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: <richard.purdie@linuxfoundation.org>
Cc: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/2] linux-yocto: add bc-native and linux-yocto-dependency
Date: Mon, 26 Aug 2013 18:00:11 -0400	[thread overview]
Message-ID: <cover.1377554229.git.bruce.ashfield@windriver.com> (raw)

Richard/Saul,

As reported by Martin Jansa, the following error happens when building in a
minimal environment:

   |   BC      kernel/timeconst.h
   | /bin/sh: bc: command not found
   | make[3]: *** [kernel/timeconst.h] Error 127
   | make[2]: *** [kernel] Error 2
   | make[2]: *** Waiting for unfinished jobs....

kernel commit 70730bca [kernel: Replace timeconst.pl with a bc script] added
a kernel dependency on bc. To support the build of linux-yocto recipes in
these configurations, we add bc-native to the common dependencies.

I didn't go so far as to add the dependency to the base kernel bbclass,
since not all kernels will be of the right version to trigger this dependency,
but we can consider doing that in the future.

I'm not packaging/native tool expert, but I think I added bc-native properly,
and it worked here. But obviously, correct me if I'm wrong.

Cheers,

Bruce


The following changes since commit dcc23c073ef936eccecdc16f973492f41c44def7:

  kern-tools: fix patch series to git tree validation (2013-08-26 13:57:20 -0400)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib zedd/kernel-bc
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel-bc

Bruce Ashfield (2):
  bc: add bc-native
  linux-yocto: add bc-native dependency, and move to linux-yocto.inc

 meta/recipes-extended/bc/bc_1.06.bb                |    2 ++
 meta/recipes-kernel/linux/linux-yocto-tiny_3.10.bb |    3 ---
 meta/recipes-kernel/linux/linux-yocto.inc          |    2 ++
 3 files changed, 4 insertions(+), 3 deletions(-)

-- 
1.7.10.4



             reply	other threads:[~2013-08-26 22:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-26 22:00 Bruce Ashfield [this message]
2013-08-26 22:00 ` [PATCH 1/2] bc: add bc-native Bruce Ashfield
2013-08-26 22:00 ` [PATCH 2/2] linux-yocto: add bc-native dependency, and move to linux-yocto.inc Bruce Ashfield
2013-08-27  7:56 ` [PATCH 0/2] linux-yocto: add bc-native and linux-yocto-dependency Martin Jansa

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=cover.1377554229.git.bruce.ashfield@windriver.com \
    --to=bruce.ashfield@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox