Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Olof Johansson <olof.johansson@axis.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Syslinux is compiling in do_install
Date: Fri, 8 Nov 2013 21:38:02 +0100	[thread overview]
Message-ID: <20131108203802.GU20888@axis.com> (raw)

Hi,

The syslinux recipe has the following do_compile:

do_compile() {
        # Rebuild only the installer; keep precompiled bootloaders
        # as per author's request (doc/distrib.txt)
        oe_runmake CC="${CC} ${CFLAGS}" LDFLAGS="${LDFLAGS}" installer
}

i.e, it only builds the syslinux installer, as documented in
doc/distrib.txt. The issue with this though, is that it postpones
building some stuff (like com32, where I had an unrelated issue,
see [1]) to do_install. doc/distrib.txt doesn't say anything
about the install target.

I downloaded the tarball and built it outside of the oe
environment, first doing only `make installer` followed by
`make install`. The install targets results in a lot of building.
After this, in another tree, I simply did `make`, and then `make
install`, and the install target behaves as expected (no
compiling).

As I have very little (none at all, really) experience with
syslinux, I'm not sure if this is a bug in the recipe (should we
expected make install to work after only doing make installer?)
or an upstream bug with the installer target.

Any insights are welcome! :-)


1: https://bugzilla.yoctoproject.org/show_bug.cgi?id=5054
-- 
olofjn


                 reply	other threads:[~2013-11-08 20:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20131108203802.GU20888@axis.com \
    --to=olof.johansson@axis.com \
    --cc=openembedded-core@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox