From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 9E209E00B68; Wed, 4 Jun 2014 01:51:38 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (auslands-kv[at]gmx.de) * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [80.91.229.3 listed in list.dnswl.org] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 952B5E00B5C for ; Wed, 4 Jun 2014 01:51:31 -0700 (PDT) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ws6uu-0005Rv-2G for yocto@yoctoproject.org; Wed, 04 Jun 2014 10:51:28 +0200 Received: from 80-218-32-173.dclient.hispeed.ch ([80.218.32.173]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Jun 2014 10:51:28 +0200 Received: from auslands-kv by 80-218-32-173.dclient.hispeed.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Jun 2014 10:51:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: yocto@yoctoproject.org From: Neuer User Date: Wed, 04 Jun 2014 10:51:18 +0200 Message-ID: Mime-Version: 1.0 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 80-218-32-173.dclient.hispeed.ch User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 Subject: best way to add conditional configure option X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2014 08:51:38 -0000 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit 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