summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-support/tgt/tgt_git.bb
diff options
context:
space:
mode:
authorZhenhua Luo <zhenhua.luo@freescale.com>2014-04-10 11:40:40 +0800
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-04-15 19:43:32 -0400
commit3af9bf1831b89887da53e7804930010784338b4b (patch)
tree406371c176b102bbe7f925400b639b699d3ef715 /meta-openstack/recipes-support/tgt/tgt_git.bb
parent388b3c78448bcb77bdb80af3749743a0a0a1ce5c (diff)
downloadmeta-cloud-services-3af9bf1831b89887da53e7804930010784338b4b.tar.gz
tgt: Fix the path of header files check
Current Makefile will check headers on host instead of Yocto sysroot, following error appears. Change the path of header check. | bs_aio.c:34:20: fatal error: libaio.h: No such file or directory | #include <libaio.h> | ^ | compilation terminated. Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-support/tgt/tgt_git.bb')
-rw-r--r--meta-openstack/recipes-support/tgt/tgt_git.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-openstack/recipes-support/tgt/tgt_git.bb b/meta-openstack/recipes-support/tgt/tgt_git.bb
index db4f56b..8be9fe4 100644
--- a/meta-openstack/recipes-support/tgt/tgt_git.bb
+++ b/meta-openstack/recipes-support/tgt/tgt_git.bb
@@ -8,7 +8,9 @@ SRCREV = "0ee382bab57a8ecd9ece18d511bd098298478409"
8PV = "1.0.36+git${SRCPV}" 8PV = "1.0.36+git${SRCPV}"
9PR = "r0" 9PR = "r0"
10 10
11SRC_URI = "git://github.com/fujita/tgt.git" 11SRC_URI = "git://github.com/fujita/tgt.git \
12 file://0001-Correct-the-path-of-header-files-check-in-Yocto-buil.patch \
13"
12SRC_URI += "file://tgtd.init" 14SRC_URI += "file://tgtd.init"
13 15
14S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
@@ -16,7 +18,7 @@ S = "${WORKDIR}/git"
16inherit update-rc.d 18inherit update-rc.d
17 19
18do_compile() { 20do_compile() {
19 oe_runmake -e programs conf scripts 21 oe_runmake SYSROOT="${STAGING_DIR_TARGET}" -e programs conf scripts
20} 22}
21 23
22do_install() { 24do_install() {