All of lore.kernel.org
 help / color / mirror / Atom feed
From: Neuer User <auslands-kv@gmx.de>
To: yocto@yoctoproject.org
Subject: best way to add conditional configure option
Date: Wed, 04 Jun 2014 10:51:18 +0200	[thread overview]
Message-ID: <lmmmm6$o20$1@ger.gmane.org> (raw)

Hi

I have a simple recipe (libcec) that I would like to add an additional
configure option to, depending if the machine is an imx6 based one.

How would I do that best?

Here is the recipe:

---------------------------------------------
SUMMARY = "USB CEC Adaptor communication Library with patches for imx6"
HOMEPAGE = "http://libcec.pulse-eight.com/"

LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=5e8e16396992369f73f3d28875f846da"

DEPENDS = "udev lockdev"

PV = "2.4.1"

SRCREV = "42c3c07a79b8155635851c2eed9558b221b89047"
SRC_URI = "git://github.com/xbmc-imx6/libcec.git"

S = "${WORKDIR}/git"

inherit autotools pkgconfig

# cec-client and xbmc need the .so present to work :(
FILES_${PN} += "${libdir}/*.so"
INSANE_SKIP_${PN} = "dev-so"
---------------------------------------------

The conditional configure option is "--enable-imx6".

Thanks for helping

Michael



             reply	other threads:[~2014-06-04  8:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-04  8:51 Neuer User [this message]
2014-06-04  8:59 ` best way to add conditional configure option Burton, Ross
2014-06-04  9:13   ` Neuer User
2014-06-04  9:21     ` Neuer User
2014-06-04  9:24       ` Neuer User
2014-06-04  9:57         ` Burton, Ross
2014-06-04  9:59         ` Paul Eggleton
2014-06-04 10:00           ` Neuer User

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='lmmmm6$o20$1@ger.gmane.org' \
    --to=auslands-kv@gmx.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.