All of lore.kernel.org
 help / color / mirror / Atom feed
* [m-c-s][PATCH 1/3] tgt: pass required CFLAGS
@ 2016-03-18 20:50 Mark Asselstine
  2016-03-18 20:50 ` [m-c-s][PATCH 2/3] openstackchef: add missing parameter to getVar Mark Asselstine
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Mark Asselstine @ 2016-03-18 20:50 UTC (permalink / raw)
  To: meta-virtualization, bruce.ashfield

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.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
---
 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
 }
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-03-21 14:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-18 20:50 [m-c-s][PATCH 1/3] tgt: pass required CFLAGS Mark Asselstine
2016-03-18 20:50 ` [m-c-s][PATCH 2/3] openstackchef: add missing parameter to getVar Mark Asselstine
2016-03-18 20:50 ` [m-c-s][PATCH 3/3] python: satisfy setup.py 'setup_requires' Mark Asselstine
2016-03-18 21:18   ` Mark Asselstine
2016-03-21 14:21 ` [m-c-s][PATCH 1/3] tgt: pass required CFLAGS Bruce Ashfield
2016-03-21 14:24 ` Bruce Ashfield

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.