public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Henning Schild <henning.schild@siemens.com>
To: "Jan Kiszka" <jan.kiszka@siemens.com>
Cc: Francesco <fdprnd@dave.eu>, <isar-users@googlegroups.com>
Subject: Re: questions about cross compilation and licence report
Date: Mon, 14 May 2018 10:51:28 +0200	[thread overview]
Message-ID: <20180514105128.37776fc7@md1pvb1c.ad001.siemens.net> (raw)
In-Reply-To: <7f45ad9b-27ae-82be-2726-d40994e62439@siemens.com>

Am Fri, 11 May 2018 15:52:22 +0200
schrieb "Jan Kiszka" <jan.kiszka@siemens.com>:

> On 2018-05-10 10:13, Francesco wrote:
> > Hi All,
> > 
> > I have a couple of general questions about isar.
> > Is it possible to generate a report containing all the licences of
> > the packages that are installed during the rootfs generation
> > process?  
> 
> I'm not aware of even a simple script for doing that. The reason might
> be that the exact license compliance processes heavily depend on
> company-internal regulations. For us, e.g., such an aggregation would
> currently not be enough - without checking that what Debian reports is
> complete and accurate. But that should not block working on such a
> thing. My hope is that we will eventually be able to use Debian
> reports directly as well.
> 
> > 
> > Perhaps some of you have already faced the problem of developing
> > cross compiled applications.
> > Since with isar is not possible to produce a yocto-like sdk, which
> > is the suggested approach to develop cross compiled applications
> > which use external libraries?
> >   
> 
> A simple SDK support (corresponding sysroot aggregation,
> cross-compiler setup description) and also cross-building for recipes
> are WIP. I hope we see some prototype soon.

At the moment your two options would be:

1. derive an image from your real image, there you would add everything
you need to code/compile etc. i.e. install kde+eclipse+...
This one works fine for x86 but is not suitable for cross builds.

> require my-fancy-image.bb; IMAGE_PREINSTALL+="gvim build-essential"

2. extract the buildchroot after image creation and add
--sysroot=/path/to/isar/buildchroot to the FLAGS in your Makefiles and
prefix your toolchain with CROSS_ .
To get the libs in write a recipe with your build-deps. 
You should write a proper debianized recipe for your applications so
Isar will build them without leveraging the CROSS_ infrastructure you
use for development.

Henning

> Jan
> 


      reply	other threads:[~2018-05-14  8:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-10  8:13 Francesco
2018-05-11 13:52 ` Jan Kiszka
2018-05-14  8:51   ` Henning Schild [this message]

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=20180514105128.37776fc7@md1pvb1c.ad001.siemens.net \
    --to=henning.schild@siemens.com \
    --cc=fdprnd@dave.eu \
    --cc=isar-users@googlegroups.com \
    --cc=jan.kiszka@siemens.com \
    /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