summaryrefslogtreecommitdiffstats
path: root/recipes-sota/ostree
diff options
context:
space:
mode:
authorRicardo Salveti <ricardo@opensourcefoundries.com>2018-05-04 22:45:25 -0300
committerRicardo Salveti <ricardo@opensourcefoundries.com>2018-06-12 16:53:24 -0300
commit7201fc524d7be21b5cf77081d0b923a000ada15a (patch)
tree8049763e2fd721daf84c4713aef4a8e93a1dd6b0 /recipes-sota/ostree
parent58953e7c6dac5b756085317d8c9ebd25dab15d53 (diff)
downloadmeta-updater-7201fc524d7be21b5cf77081d0b923a000ada15a.tar.gz
ostree: use do_configure_prepend and avoid customizing do_compile
Prefer prepend (autogen) and also avoid customizing do_compile as exporting BUILD_SYS and HOST_SYS is already enough. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Diffstat (limited to 'recipes-sota/ostree')
-rw-r--r--recipes-sota/ostree/ostree_git.bb10
1 files changed, 3 insertions, 7 deletions
diff --git a/recipes-sota/ostree/ostree_git.bb b/recipes-sota/ostree/ostree_git.bb
index 112d05c..240860a 100644
--- a/recipes-sota/ostree/ostree_git.bb
+++ b/recipes-sota/ostree/ostree_git.bb
@@ -45,18 +45,14 @@ PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/
45 45
46FILES_${PN} += "${libdir}/ostree/ ${libdir}/ostbuild" 46FILES_${PN} += "${libdir}/ostree/ ${libdir}/ostbuild"
47 47
48export BUILD_SYS
49export HOST_SYS
48export STAGING_INCDIR 50export STAGING_INCDIR
49export STAGING_LIBDIR 51export STAGING_LIBDIR
50 52
51do_configure() { 53do_configure_prepend() {
52 unset docdir 54 unset docdir
53 NOCONFIGURE=1 "${S}/autogen.sh" 55 NOCONFIGURE=1 "${S}/autogen.sh"
54 oe_runconf
55}
56
57do_compile_prepend() {
58 export BUILD_SYS="${BUILD_SYS}"
59 export HOST_SYS="${HOST_SYS}"
60} 56}
61 57
62export SYSTEMD_REQUIRED 58export SYSTEMD_REQUIRED