diff options
Diffstat (limited to 'meta-openstack/recipes-support/tgt/tgt_git.bb')
| -rw-r--r-- | meta-openstack/recipes-support/tgt/tgt_git.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta-openstack/recipes-support/tgt/tgt_git.bb b/meta-openstack/recipes-support/tgt/tgt_git.bb index 5c594b1..9ca181a 100644 --- a/meta-openstack/recipes-support/tgt/tgt_git.bb +++ b/meta-openstack/recipes-support/tgt/tgt_git.bb | |||
| @@ -10,6 +10,7 @@ PV = "1.0.67+git${SRCPV}" | |||
| 10 | SRC_URI = "git://github.com/fujita/tgt.git \ | 10 | SRC_URI = "git://github.com/fujita/tgt.git \ |
| 11 | file://0001-Correct-the-path-of-header-files-check-in-Yocto-buil.patch \ | 11 | file://0001-Correct-the-path-of-header-files-check-in-Yocto-buil.patch \ |
| 12 | file://0001-usr-Makefile-WARNING-fix.patch \ | 12 | file://0001-usr-Makefile-WARNING-fix.patch \ |
| 13 | file://usr-Makefile-apply-LDFLAGS-to-all-executables.patch \ | ||
| 13 | " | 14 | " |
| 14 | SRC_URI += "file://tgtd.init" | 15 | SRC_URI += "file://tgtd.init" |
| 15 | 16 | ||
| @@ -21,9 +22,10 @@ inherit update-rc.d | |||
| 21 | 22 | ||
| 22 | CFLAGS += ' -I. -DUSE_SIGNALFD -DUSE_TIMERFD -D_GNU_SOURCE -DTGT_VERSION=\\"1.0.63\\" -DBSDIR=\\"${libdir}/backing-store\\"' | 23 | CFLAGS += ' -I. -DUSE_SIGNALFD -DUSE_TIMERFD -D_GNU_SOURCE -DTGT_VERSION=\\"1.0.63\\" -DBSDIR=\\"${libdir}/backing-store\\"' |
| 23 | 24 | ||
| 24 | do_compile() { | 25 | #do_compile() { |
| 25 | oe_runmake SYSROOT="${STAGING_DIR_TARGET}" -e programs conf scripts | 26 | # oe_runmake SYSROOT="${STAGING_DIR_TARGET}" -e programs conf scripts |
| 26 | } | 27 | #} |
| 28 | EXTRA_OEMAKE = "-e programs conf scripts" | ||
| 27 | 29 | ||
| 28 | do_install() { | 30 | do_install() { |
| 29 | oe_runmake -e DESTDIR="${D}" install-programs install-conf install-scripts | 31 | oe_runmake -e DESTDIR="${D}" install-programs install-conf install-scripts |
