diff options
| author | Zhenhua Luo <zhenhua.luo@freescale.com> | 2014-04-10 11:40:40 +0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-04-15 19:43:32 -0400 |
| commit | 3af9bf1831b89887da53e7804930010784338b4b (patch) | |
| tree | 406371c176b102bbe7f925400b639b699d3ef715 /meta-openstack/recipes-support/tgt/tgt_git.bb | |
| parent | 388b3c78448bcb77bdb80af3749743a0a0a1ce5c (diff) | |
| download | meta-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.bb | 6 |
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" | |||
| 8 | PV = "1.0.36+git${SRCPV}" | 8 | PV = "1.0.36+git${SRCPV}" |
| 9 | PR = "r0" | 9 | PR = "r0" |
| 10 | 10 | ||
| 11 | SRC_URI = "git://github.com/fujita/tgt.git" | 11 | SRC_URI = "git://github.com/fujita/tgt.git \ |
| 12 | file://0001-Correct-the-path-of-header-files-check-in-Yocto-buil.patch \ | ||
| 13 | " | ||
| 12 | SRC_URI += "file://tgtd.init" | 14 | SRC_URI += "file://tgtd.init" |
| 13 | 15 | ||
| 14 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
| @@ -16,7 +18,7 @@ S = "${WORKDIR}/git" | |||
| 16 | inherit update-rc.d | 18 | inherit update-rc.d |
| 17 | 19 | ||
| 18 | do_compile() { | 20 | do_compile() { |
| 19 | oe_runmake -e programs conf scripts | 21 | oe_runmake SYSROOT="${STAGING_DIR_TARGET}" -e programs conf scripts |
| 20 | } | 22 | } |
| 21 | 23 | ||
| 22 | do_install() { | 24 | do_install() { |
