diff options
author | Ricardo Salveti <ricardo@opensourcefoundries.com> | 2018-05-04 22:45:25 -0300 |
---|---|---|
committer | Ricardo Salveti <ricardo@opensourcefoundries.com> | 2018-06-12 16:53:24 -0300 |
commit | 7201fc524d7be21b5cf77081d0b923a000ada15a (patch) | |
tree | 8049763e2fd721daf84c4713aef4a8e93a1dd6b0 /recipes-sota/ostree | |
parent | 58953e7c6dac5b756085317d8c9ebd25dab15d53 (diff) | |
download | meta-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.bb | 10 |
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 | ||
46 | FILES_${PN} += "${libdir}/ostree/ ${libdir}/ostbuild" | 46 | FILES_${PN} += "${libdir}/ostree/ ${libdir}/ostbuild" |
47 | 47 | ||
48 | export BUILD_SYS | ||
49 | export HOST_SYS | ||
48 | export STAGING_INCDIR | 50 | export STAGING_INCDIR |
49 | export STAGING_LIBDIR | 51 | export STAGING_LIBDIR |
50 | 52 | ||
51 | do_configure() { | 53 | do_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 | |||
57 | do_compile_prepend() { | ||
58 | export BUILD_SYS="${BUILD_SYS}" | ||
59 | export HOST_SYS="${HOST_SYS}" | ||
60 | } | 56 | } |
61 | 57 | ||
62 | export SYSTEMD_REQUIRED | 58 | export SYSTEMD_REQUIRED |