From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id E0A55E00973; Mon, 21 Mar 2016 07:21:20 -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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 88D93E00948 for ; Mon, 21 Mar 2016 07:21:18 -0700 (PDT) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id u2LELHJS029641 (version=TLSv1 cipher=AES128-SHA bits=128 verify=OK) for ; Mon, 21 Mar 2016 07:21:17 -0700 Received: from server.local (147.11.116.210) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.248.2; Mon, 21 Mar 2016 07:21:16 -0700 To: Mark Asselstine , References: <1458334211-26727-1-git-send-email-mark.asselstine@windriver.com> From: Bruce Ashfield Message-ID: <56F0035C.6080009@windriver.com> Date: Mon, 21 Mar 2016 10:21:16 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <1458334211-26727-1-git-send-email-mark.asselstine@windriver.com> Subject: Re: [m-c-s][PATCH 1/3] tgt: pass required CFLAGS X-BeenThere: meta-virtualization@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Discussion of layer enabling hypervisor, virtualization tool stack, and cloud support" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2016 14:21:20 -0000 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit On 2016-03-18 4:50 PM, Mark Asselstine wrote: > The tgt Makefile has several CFLAGS (defines) that need to be > set. Since we overwrite the CFLAGS by exporting CFLAGS and passing > '-e' to make, we need to include these in our defined CFLAGS. Patches 1 and 3 of the series have been merged to master. Bruce > > Signed-off-by: Mark Asselstine > --- > meta-openstack/recipes-support/tgt/tgt_git.bb | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/meta-openstack/recipes-support/tgt/tgt_git.bb b/meta-openstack/recipes-support/tgt/tgt_git.bb > index a5df710..ac240f0 100644 > --- a/meta-openstack/recipes-support/tgt/tgt_git.bb > +++ b/meta-openstack/recipes-support/tgt/tgt_git.bb > @@ -4,9 +4,8 @@ LICENSE = "GPLv2" > LIC_FILES_CHKSUM = "file://scripts/tgtd.spec;beginline=7;endline=7;md5=21c19ea7dad04648b9c2f791b6e29b4c" > DEPENDS = "sg3-utils" > > -SRCREV = "ab51727a361bf296b1c2036375b5e45479059921" > -PV = "1.0.60+git${SRCPV}" > -PR = "r0" > +SRCREV = "eca74a72d2595f126a020111943928c3ea9e6fe8" > +PV = "1.0.63+git${SRCPV}" > > SRC_URI = "git://github.com/fujita/tgt.git \ > file://0001-Correct-the-path-of-header-files-check-in-Yocto-buil.patch \ > @@ -20,6 +19,8 @@ CONFFILES_${PN} += "${sysconfdir}/tgt/targets.conf" > > inherit update-rc.d > > +CFLAGS += ' -I. -DUSE_SIGNALFD -DUSE_TIMERFD -D_GNU_SOURCE -DTGT_VERSION=\\"1.0.63\\" -DBSDIR=\\"${libdir}/backing-store\\"' > + > do_compile() { > oe_runmake SYSROOT="${STAGING_DIR_TARGET}" -e programs conf scripts > } >